From b04babfbac431253569aa33e93fd5a1a4c25c8c3 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 26 May 2010 07:52:42 +0000 Subject: [PATCH] Added requirement dependencies git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18726 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../admin/systems/services/rsyslog/class_rSyslogServer.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/rsyslog/admin/systems/services/rsyslog/class_rSyslogServer.inc b/gosa-plugins/rsyslog/admin/systems/services/rsyslog/class_rSyslogServer.inc index ac9fa2147..64e55d70f 100644 --- a/gosa-plugins/rsyslog/admin/systems/services/rsyslog/class_rSyslogServer.inc +++ b/gosa-plugins/rsyslog/admin/systems/services/rsyslog/class_rSyslogServer.inc @@ -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"), -- 2.30.2