diff options
Diffstat (limited to 'manifests/client/debian.pp')
-rw-r--r-- | manifests/client/debian.pp | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/manifests/client/debian.pp b/manifests/client/debian.pp index e75f484..7c56788 100644 --- a/manifests/client/debian.pp +++ b/manifests/client/debian.pp @@ -1,20 +1,16 @@ class munin::client::debian inherits munin::client::package { - # the plugin will need that - if !defined(Package["iproute"]) { + # the plugin will need that package { "iproute": ensure => installed } - } - - Service["munin-node"]{ - # sarge's munin-node init script has no status - hasstatus => $lsbdistcodename ? { sarge => false, default => true } - } - - File["/etc/munin/munin-node.conf"]{ - content => template("munin/munin-node.conf.$operatingsystem.$lsbdistcodename"), - } - # workaround bug in munin_node_configure - plugin { "postfix_mailvolume": ensure => absent } - include munin::plugins::debian + Service["munin-node"]{ + # sarge's munin-node init script has no status + hasstatus => $lsbdistcodename ? { sarge => false, default => true } + } + File["/etc/munin/munin-node.conf"]{ + content => template("munin/munin-node.conf.$operatingsystem.$lsbdistcodename"), + } + # workaround bug in munin_node_configure + plugin { "postfix_mailvolume": ensure => absent } + include munin::plugins::debian } |