summaryrefslogtreecommitdiff
path: root/manifests/client/darwin.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-07-01 04:43:09 +0200
committermh <mh@immerda.ch>2010-07-01 04:43:09 +0200
commite7d23dabf191c5416197af0b229fc90b94539405 (patch)
treebf9d1f220eb8c0ef176529e2ab18717618e4ee14 /manifests/client/darwin.pp
parentd63bc7ba3edc39e2fe7dbbefd87edac45176b13b (diff)
parentf1586a7fbcc79fee6542790b1f4c930929af7e04 (diff)
merge with lavamind
Diffstat (limited to 'manifests/client/darwin.pp')
-rw-r--r--manifests/client/darwin.pp38
1 files changed, 19 insertions, 19 deletions
diff --git a/manifests/client/darwin.pp b/manifests/client/darwin.pp
index f6fc95f..369a605 100644
--- a/manifests/client/darwin.pp
+++ b/manifests/client/darwin.pp
@@ -1,21 +1,21 @@
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: }
}