From 60c95d3cf9b2dd19ad03897241ccfc4bf3087f8d Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Fri, 16 Oct 2009 22:44:48 +0100 Subject: [PATCH] we can shorten that Signed-off-by: Stephen Gran --- modules/munin-node/manifests/apache.pp | 6 +++--- modules/munin-node/manifests/init.pp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/munin-node/manifests/apache.pp b/modules/munin-node/manifests/apache.pp index d23bdb159..f554c1604 100644 --- a/modules/munin-node/manifests/apache.pp +++ b/modules/munin-node/manifests/apache.pp @@ -1,8 +1,8 @@ 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":; } } diff --git a/modules/munin-node/manifests/init.pp b/modules/munin-node/manifests/init.pp index 0fc6d1e41..523d6b972 100644 --- a/modules/munin-node/manifests/init.pp +++ b/modules/munin-node/manifests/init.pp @@ -1,4 +1,4 @@ -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"]; -- 2.20.1