diff options
author | duritong <peter.meier+github@immerda.ch> | 2013-08-25 04:01:08 -0700 |
---|---|---|
committer | duritong <peter.meier+github@immerda.ch> | 2013-08-25 04:01:08 -0700 |
commit | 9a98e96366ed2986fcce2b9a6298580583ab62c7 (patch) | |
tree | b2dd2f25149b0752486d7c28092c468a5926663e /manifests/snmp_collector.pp | |
parent | f79c556357cdd4e0a06596b32661e3f156e2fc4f (diff) | |
parent | 42488b04b47ec3fd87f1d45ec3fa90b588545ca1 (diff) |
Merge pull request #12 from oxilion/linting
lintify
Diffstat (limited to 'manifests/snmp_collector.pp')
-rw-r--r-- | manifests/snmp_collector.pp | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/manifests/snmp_collector.pp b/manifests/snmp_collector.pp index 0f8318a..4ff3bf9 100644 --- a/manifests/snmp_collector.pp +++ b/manifests/snmp_collector.pp @@ -1,14 +1,17 @@ +# Set up munin as an SNMP collector class munin::snmp_collector{ - file { - "/var/lib/puppet/modules/munin/create_snmp_links": - source => "puppet:///modules/munin/create_snmp_links.sh", - mode => 755, owner => root, group => 0; - } + file { + '/var/lib/puppet/modules/munin/create_snmp_links': + source => 'puppet:///modules/munin/create_snmp_links.sh', + mode => '0755', + owner => root, + group => 0, + } - exec { "create_snmp_links": - command => "/var/lib/puppet/modules/munin/create_snmp_links /var/lib/puppet/modules/munin/nodes", - require => File["snmp_links"], - timeout => "2048", - schedule => daily + exec { 'create_snmp_links': + command => '/var/lib/puppet/modules/munin/create_snmp_links /var/lib/puppet/modules/munin/nodes', + require => File['snmp_links'], + timeout => '2048', + schedule => daily, } } |