summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2015-02-12 18:58:17 +0000
committerintrigeri <intrigeri@boum.org>2015-02-12 18:58:17 +0000
commit64e309214b30502e853f1017cf3f4b12886d02c9 (patch)
tree57507a2ca100779e451029d5add66802b91b89f6
parent23201220bf8b7b63da44747be142face0c98eb09 (diff)
Remove munin::client::darwin (Closes: #4347).
It's using `line', and then it's the only blocker left to migrate to the cleaned up "common" module. We've found nobody who could maintain it nor test changes we could make, so better simply drop it.
-rw-r--r--manifests/client.pp1
-rw-r--r--manifests/client/darwin.pp23
2 files changed, 0 insertions, 24 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index aca899a..f71d946 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -7,7 +7,6 @@ class munin::client {
case $::operatingsystem {
openbsd: { include munin::client::openbsd }
- darwin: { include munin::client::darwin }
debian,ubuntu: { include munin::client::debian }
gentoo: { include munin::client::gentoo }
centos: { include munin::client::base }
diff --git a/manifests/client/darwin.pp b/manifests/client/darwin.pp
deleted file mode 100644
index 7639896..0000000
--- a/manifests/client/darwin.pp
+++ /dev/null
@@ -1,23 +0,0 @@
-# Install a munin client on darwin
-class munin::client::darwin {
- file { '/usr/share/snmp/snmpd.conf':
- mode => '0744',
- content => template('munin/darwin_snmpd.conf.erb'),
- group => 0,
- owner => root,
- }
- line{'startsnmpdno':
- ensure => absent,
- file => '/etc/hostconfig',
- line => '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: }
-}