From 68e5a30c917a9275868e609fe986e6424ab1c1eb Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Wed, 13 Aug 2014 10:35:18 +0200 Subject: 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. --- manifests/register/snmp.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' -- cgit v1.2.3