Signed-off-by: Stephen Gran <steve@lobefin.net>
class munin-node::apache inherits munin-node {
activate_munin_check {
- "apache_accesses": name => "apache_accesses";
- "apache_processes": name => "apache_processes";
- "apache_volume": name => "apache_volume";
+ "apache_accesses":;
+ "apache_processes":;
+ "apache_volume":;
}
}
-define activate_munin_check($name) {
+define activate_munin_check() {
file { "/etc/munin/plugins/$name":
ensure => "/usr/share/munin/plugins/$name",
notify => Exec["munin-node restart"];