1 define activate_munin_check($name) {
2 file { "/etc/munin/plugins/$name":
3 ensure => "/usr/share/munin/plugins/$name",
4 notify => Exec["munin-node restart"];
10 package { munin-node: ensure => installed }
12 file { "/etc/munin/munin-node.conf":
13 source => [ "puppet:///munin-node/per-host/$fqdn/munin-node.conf",
14 "puppet:///munin-node/common/munin-node.conf" ],
15 require => Package["munin-node"],
16 notify => Exec["munin-node restart"],
19 exec { "munin-node restart":
20 path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin",