diff options
author | Jasper Lievisse Adriaanse <jasper@humppa.nl> | 2014-08-13 10:35:18 +0200 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@humppa.nl> | 2014-08-13 10:35:18 +0200 |
commit | 68e5a30c917a9275868e609fe986e6424ab1c1eb (patch) | |
tree | 8243094497755e93ed7544480a79100d513b3ae9 /manifests/register/snmp.pp | |
parent | 145f35c188b088890049557be6f203272f0d266c (diff) |
Unbreak registering new snmp nodes into munin.conf
As $group would be undefined, a ';' would be written into the
host definition which in turn causes munin to be unable to parse the file.
Diffstat (limited to 'manifests/register/snmp.pp')
-rw-r--r-- | manifests/register/snmp.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/register/snmp.pp b/manifests/register/snmp.pp index 1c375ec..5fab221 100644 --- a/manifests/register/snmp.pp +++ b/manifests/register/snmp.pp @@ -3,7 +3,8 @@ define munin::register::snmp ( $community = 'public', $description = 'absent', $port = '4949', - $host = $::fqdn + $host = $::fqdn, + $group = 'absent', ) { $fhost = $name $client_type = 'snmp' |