diff options
author | mh <mh@immerda.ch> | 2013-11-03 17:46:46 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-11-03 17:46:46 +0100 |
commit | d2a2cb77b9a9ca5deddecdec3d14ac763388929e (patch) | |
tree | 6ba8bbb61a49ce75681d1ec9135dea74221b5c7e /manifests/client/debian.pp | |
parent | 6856c8bb3f11073a47ab705d0e2012a0c90acae3 (diff) |
cleanup openbsd manual installation + remove unnecessary files
The manual OpenBSD installation is now so old and not needed
anymore.
Diffstat (limited to 'manifests/client/debian.pp')
-rw-r--r-- | manifests/client/debian.pp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/manifests/client/debian.pp b/manifests/client/debian.pp index 3cfc3fc..f94356a 100644 --- a/manifests/client/debian.pp +++ b/manifests/client/debian.pp @@ -1,11 +1,18 @@ # Install the munin client on debian -class munin::client::debian inherits munin::client::package { +class munin::client::debian inherits munin::client::base { # the plugin will need that - package { 'iproute': ensure => installed } + package { 'iproute': + ensure => installed + } + + $hasstatus = $::lsbdistcodename ? { + sarge => false, + default => true + } Service['munin-node']{ # sarge's munin-node init script has no status - hasstatus => $::lsbdistcodename ? { sarge => false, default => true } + hasstatus => $hasstatus } File['/etc/munin/munin-node.conf']{ content => template("munin/munin-node.conf.${::operatingsystem}.${::lsbdistcodename}"), |