Puppet Class: munin::client::debian

Inherits:
munin::client::base
Defined in:
manifests/client/debian.pp

Overview

Install the munin client on debian



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'manifests/client/debian.pp', line 2

class munin::client::debian inherits munin::client::base {
  # the plugin will need that
  ensure_packages(['iproute'])

  $hasstatus = $::lsbdistcodename ? {
    sarge => false,
    default => true
  }

  Service['munin-node']{
    # sarge's munin-node init script has no status
    hasstatus => $hasstatus
  }
  # workaround bug in munin_node_configure
  plugin { 'postfix_mailvolume': ensure => absent }
  include munin::plugins::debian
}