Puppet Class: munin::plugins::setup
- Defined in:
- manifests/plugins/setup.pp
Overview
Set up the munin plugins for a node
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'manifests/plugins/setup.pp', line 2
class munin::plugins::setup {
file {
[ '/etc/munin/plugins', '/etc/munin/plugin-conf.d' ]:
ensure => directory,
require => Package['munin-node'],
ignore => 'snmp_*',
checksum => mtime,
recurse => true,
purge => true,
force => true,
notify => Service['munin-node'],
owner => root,
group => 0,
mode => '0755';
'/etc/munin/plugin-conf.d/munin-node':
ensure => present,
notify => Service['munin-node'],
owner => root,
group => 0,
mode => '0640';
}
}
|