summaryrefslogtreecommitdiff
path: root/manifests/client/debian.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/client/debian.pp')
-rw-r--r--manifests/client/debian.pp13
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}"),