summaryrefslogtreecommitdiff
path: root/manifests/client/debian.pp
blob: 0bc041406e80c2133f10a5a029002437dc99513a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"),
  }
  include munin::plugins::debian
}