Code

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

gosa-plugins/rsyslog/admin/systems/services/rsyslog/class_rSyslogServer.inc

index ac9fa21470a4336296e4651e66bb400b06ed8b07..64e55d70f86f81f0bd9f182067564f216128e7f4 100644 (file)
@@ -177,7 +177,10 @@ class rSyslogServer extends goService{
           "plSelfModify"  => FALSE,
           "plDepends"     => array(),
           "plPriority"    => 99,
-          "plRequirements"=> array('ldapSchema' => array('goSyslogServer' => '>=2.7','goLogDBServer' => '>=2.7')),
+          "plRequirements"=> array(
+              'ldapSchema' => array('goSyslogServer' => '>=2.7','goLogDBServer' => '>=2.7'),
+              'onFailureDisablePlugin' => array(get_class(),'rsyslog'),
+            ),
           "plSection"     => array("administration"),
           "plCategory"    => array("server"),