blob: 09582022362d3194b9a3679f22d0941c6ed2e35f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Install a munin client using packages
class munin::client::package inherits munin::client::base {
package { 'munin-node': ensure => installed }
Service['munin-node']{
require => Package[munin-node],
}
File['/etc/munin/munin-node.conf']{
# this has to be installed before the package, so the postinst can
# boot the munin-node without failure!
before => Package['munin-node'],
}
}
|