From aaf55c9ebfa0e34f63b2ca3c2b660e1d164026dd Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Mon, 6 May 2013 18:13:12 +0200 Subject: lintify --- manifests/register/snmp.pp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'manifests/register') diff --git a/manifests/register/snmp.pp b/manifests/register/snmp.pp index 78c3e91..06bb00b 100644 --- a/manifests/register/snmp.pp +++ b/manifests/register/snmp.pp @@ -1,3 +1,4 @@ +# Register a munin node with snmp enabled define munin::register::snmp ( $community = 'public', $description = 'absent', @@ -10,12 +11,12 @@ define munin::register::snmp ( exec { "munin_register_snmp_${fhost}": command => "munin-node-configure --snmp ${fhost} --snmpcommunity ${community} --shell | sh", - unless => "ls /etc/munin/plugins/snmp_${fhost}_* &> /dev/null", + unless => "ls /etc/munin/plugins/snmp_${fhost}_* &> /dev/null", } @@concat::fragment{ "munin_snmp_${fhost}": - target => '/etc/munin/munin.conf', - content => template("munin/client.erb"), - tag => 'munin', + target => '/etc/munin/munin.conf', + content => template('munin/client.erb'), + tag => 'munin', } } -- cgit v1.2.3