diff options
author | Micah Anderson <micah@riseup.net> | 2010-12-10 16:48:01 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2010-12-10 16:48:01 -0500 |
commit | 74f66a8e77b153552ef52efee03187320e1ce877 (patch) | |
tree | 9f842135e5a62df7d0ef503dcf045e19238ff013 /manifests/client/darwin.pp | |
parent | fefc399e7e28ec871d91089d535073c2bc705009 (diff) |
standardize formatting
Diffstat (limited to 'manifests/client/darwin.pp')
-rw-r--r-- | manifests/client/darwin.pp | 44 |
1 files changed, 25 insertions, 19 deletions
diff --git a/manifests/client/darwin.pp b/manifests/client/darwin.pp index f6fc95f..5ae5b60 100644 --- a/manifests/client/darwin.pp +++ b/manifests/client/darwin.pp @@ -1,21 +1,27 @@ class munin::client::darwin { - file { "/usr/share/snmp/snmpd.conf": - mode => 744, - content => template("munin/darwin_snmpd.conf.erb"), - group => 0, - owner => root, - } - delete_matching_line{"startsnmpdno": - file => "/etc/hostconfig", - pattern => "SNMPSERVER=-NO-", - } - line { "startsnmpdyes": - file => "/etc/hostconfig", - line => "SNMPSERVER=-YES-", - notify => Exec["/sbin/SystemStarter start SNMP"], - } - exec{"/sbin/SystemStarter start SNMP": - noop => false, - } - munin::register_snmp { $fqdn: } + + file { '/usr/share/snmp/snmpd.conf': + mode => 744, + content => template("munin/darwin_snmpd.conf.erb"), + group => 0, + owner => root, + } + + delete_matching_line{"startsnmpdno": + file => "/etc/hostconfig", + pattern => "SNMPSERVER=-NO-", + } + + line { "startsnmpdyes": + file => "/etc/hostconfig", + line => "SNMPSERVER=-YES-", + notify => Exec["/sbin/SystemStarter start SNMP"], + } + + exec{"/sbin/SystemStarter start SNMP": + noop => false, + } + + munin::register_snmp { $fqdn: } + } |