Code

Added requirement dependencies
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 May 2010 07:51:51 +0000 (07:51 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 26 May 2010 07:51:51 +0000 (07:51 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18706 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiManagement.inc

index 6d08b3c39005affa65f36fc6c7b24ada19002eff..8d66ba891cb213c556bf11ee5e331e8732e2f08c 100644 (file)
@@ -1213,29 +1213,49 @@ class faiManagement extends management
                   "plPriority"    => 0,
                   "plSection"     => array("administration"),
                   "plRequirements"=> array(
-                        'ldapSchema' => array(
-                                'FAIclass' => '>=2.7',
-                                'FAIbranch' => '>=2.7',
-                                'FAIdebconfInfo' => '>=2.7',
-                                'FAIobject' => '>=2.7',
-                                'FAIpackageList' => '>=2.7',
-                                'FAItemplate' => '>=2.7',
-                                'FAIscript' => '>=2.7',
-                                'FAIvariable' => '>=2.7',
-                                'FAIhook' => '>=2.7',
-                                'FAItemplateEntry' => '>=2.7',
-                                'FAIscriptEntry' => '>=2.7',
-                                'FAIvariableEntry' => '>=2.7',
-                                'FAIhookEntry' => '>=2.7',
-                                'FAIpartitionTable' => '>=2.7',
-                                'FAIpartitionDisk' => '>=2.7',
-                                'FAIpartitionEntry' => '>=2.7',
-                                'FAIprofile' => '>=2.7',
-                                'FAIpartitionEntry' => '>=2.7',
-                                'FAIrepository' => '>=2.7',
-                                'FAIrepositoryServer' => '>=2.7'
-                        )
-                    ),
+                      'onFailureDisablePlugin' => array(
+                          'faiDiskEntry',
+                          'faiHookEntry',
+                          'faiHook',
+                          'faiManagement',
+                          'faiPackageConfiguration',
+                          'faiPackage',
+                          'faiPartition',
+                          'faiPartitionTableEntry',
+                          'faiPartitionTable',
+                          'faiProfile',
+                          'faiScriptEntry',
+                          'faiScript',
+                          'faiSummaryTab',
+                          'faiTemplateEdit',
+                          'faiTemplateEntry',
+                          'faiTemplate',
+                          'faiVariableEntry',
+                          'faiVariable'
+                          ),
+                      'ldapSchema' => array(
+                          'FAIclass' => '>=2.7',
+                          'FAIbranch' => '>=2.7',
+                          'FAIdebconfInfo' => '>=2.7',
+                          'FAIobject' => '>=2.7',
+                          'FAIpackageList' => '>=2.7',
+                          'FAItemplate' => '>=2.7',
+                          'FAIscript' => '>=2.7',
+                          'FAIvariable' => '>=2.7',
+                          'FAIhook' => '>=2.7',
+                          'FAItemplateEntry' => '>=2.7',
+                          'FAIscriptEntry' => '>=2.7',
+                          'FAIvariableEntry' => '>=2.7',
+                          'FAIhookEntry' => '>=2.7',
+                          'FAIpartitionTable' => '>=2.7',
+                          'FAIpartitionDisk' => '>=2.7',
+                          'FAIpartitionEntry' => '>=2.7',
+                          'FAIprofile' => '>=2.7',
+                          'FAIpartitionEntry' => '>=2.7',
+                          'FAIrepository' => '>=2.7',
+                          'FAIrepositoryServer' => '>=2.7'
+                              )
+                              ),
                   "plProperties" =>
                   array(
                       array(