From 01e1aa21db184f46c8d78eb80887bf5d6d594d3c Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 29 Oct 2007 07:28:57 +0000 Subject: [PATCH] Added snmp-community to setup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7680 594d385d-05f5-0310-b6e9-bd551577e9d8 --- contrib/gosa.conf | 6 +++--- setup/class_setupStep_Config3.inc | 1 + setup/setup_config3.tpl | 9 +++++++++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/contrib/gosa.conf b/contrib/gosa.conf index c48dc3a32..701f8c4e2 100644 --- a/contrib/gosa.conf +++ b/contrib/gosa.conf @@ -181,7 +181,7 @@ + snmpcommunity="{$cv.optional.snmpcommunity}" /> @@ -205,7 +205,7 @@ {/if} + snmpcommunity="{$cv.optional.snmpcommunity}" /> @@ -215,7 +215,7 @@ + snmpcommunity="{$cv.optional.snmpcommunity}" /> {if $cv.enableFAI_management} {else} diff --git a/setup/class_setupStep_Config3.inc b/setup/class_setupStep_Config3.inc index 15d31a502..3ad9a4d46 100644 --- a/setup/class_setupStep_Config3.inc +++ b/setup/class_setupStep_Config3.inc @@ -37,6 +37,7 @@ class Step_Config3 extends setup_step "ppd_path" => "/var/spool/ppd/", "ppd_path_active" => FALSE, "compile" => "/var/spool/gosa", + "snmpcommunity" => "goto", "debuglevel" => 0, "session_lifetime" => 7200, "max_ldap_query_time" => "5.0", diff --git a/setup/setup_config3.tpl b/setup/setup_config3.tpl index 724bae715..4e649cf44 100644 --- a/setup/setup_config3.tpl +++ b/setup/setup_config3.tpl @@ -46,6 +46,15 @@ type='text' value='{$optional.compile}'> +
+
+ {t}SNMP community{/t} +
+
+ +
+
{t}Path for PPD storage{/t} -- 2.30.2