summaryrefslogtreecommitdiff
path: root/manifests/plugins/apache.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-07-15 20:41:39 +0200
committermh <mh@immerda.ch>2010-07-15 20:41:39 +0200
commitdab730ed6b0667d4356c0e8e21e37719ea977a93 (patch)
treea00789980ad6bb8cbf27bf41c31de8c88dfb9171 /manifests/plugins/apache.pp
parente7d23dabf191c5416197af0b229fc90b94539405 (diff)
fixing weird class setup
we had some weird class setup which caused some problems on 2.6 (see puppet bug #4242 for more info). This commit cleans that weird setup up and decouples a lot of things.
Diffstat (limited to 'manifests/plugins/apache.pp')
-rw-r--r--manifests/plugins/apache.pp8
1 files changed, 3 insertions, 5 deletions
diff --git a/manifests/plugins/apache.pp b/manifests/plugins/apache.pp
index ee90de8..b3e7634 100644
--- a/manifests/plugins/apache.pp
+++ b/manifests/plugins/apache.pp
@@ -1,6 +1,4 @@
-class munin::plugins::apache inherits munin::plugins::base {
- munin::plugin{ "apache_accesses": }
- munin::plugin{ "apache_processes": }
- munin::plugin{ "apache_volume": }
- munin::plugin::deploy { "apache_activity": }
+class munin::plugins::apache {
+ munin::plugin{ [ 'apache_accesses', 'apache_processes',' apache_volume' ]: }
+ munin::plugin::deploy { "apache_activity": }
}