diff options
author | Ewoud Kohl van Wijngaarden <e.kohlvanwijngaarden@oxilion.nl> | 2013-05-06 18:13:12 +0200 |
---|---|---|
committer | Ewoud Kohl van Wijngaarden <e.kohlvanwijngaarden@oxilion.nl> | 2013-07-02 19:20:22 +0200 |
commit | aaf55c9ebfa0e34f63b2ca3c2b660e1d164026dd (patch) | |
tree | a57cb9f94b00a43efbcd15b6e8b507d6de22be3b /manifests/register/snmp.pp | |
parent | 46c1aeb48f03f5eb0f761f0135de967a62986515 (diff) |
lintify
Diffstat (limited to 'manifests/register/snmp.pp')
-rw-r--r-- | manifests/register/snmp.pp | 9 |
1 files changed, 5 insertions, 4 deletions
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', } } |