From 985902142a00fec2f06a924888011a632eb77a49 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 26 May 2010 07:51:51 +0000 Subject: [PATCH] Added requirement dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18706 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../fai/admin/fai/class_faiManagement.inc | 66 ++++++++++++------- 1 file changed, 43 insertions(+), 23 deletions(-) diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc index 6d08b3c39..8d66ba891 100644 --- a/gosa-plugins/fai/admin/fai/class_faiManagement.inc +++ b/gosa-plugins/fai/admin/fai/class_faiManagement.inc @@ -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( -- 2.30.2