blob: 3cfc3fc7fc50ecefa672644bcb52fc3a8d7789b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Install the munin client on debian
class munin::client::debian inherits munin::client::package {
# 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
}
|