1 class munin::plugins::setup {
3 [ '/etc/munin/plugins', '/etc/munin/plugin-conf.d' ]:
4 source => "puppet://$server/modules/common/empty",
5 ignore => [ '\.ignore', 'snmp_*' ],
6 ensure => directory, checksum => mtime,
7 recurse => true, purge => true, force => true,
8 mode => 0755, owner => root, group => 0,
9 notify => Service['munin-node'];
10 '/etc/munin/plugin-conf.d/munin-node':
12 mode => 0644, owner => root, group => 0,
13 notify => Service['munin-node'],
17 File['/etc/munin/plugin-conf.d/munin-node']{
18 before => File['/var/run/munin'],
22 File['/etc/munin/plugin-conf.d/munin-node']{
23 before => Package['munin-node'],