summaryrefslogtreecommitdiff
path: root/manifests/plugins/linux.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/linux.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/linux.pp')
-rw-r--r--manifests/plugins/linux.pp16
1 files changed, 7 insertions, 9 deletions
diff --git a/manifests/plugins/linux.pp b/manifests/plugins/linux.pp
index 86696cc..30e0af6 100644
--- a/manifests/plugins/linux.pp
+++ b/manifests/plugins/linux.pp
@@ -1,10 +1,8 @@
-class munin::plugins::linux inherits munin::plugins::base {
- munin::plugin {
- [ df_abs, forks, df_inode, irqstats, entropy, open_inodes ]:
- ensure => present;
- acpi:
- ensure => $acpi_available;
- }
-
- include munin::plugins::interfaces
+class munin::plugins::linux {
+ munin::plugin {
+ [ df_abs, forks, df_inode, irqstats, entropy, open_inodes ]:
+ ensure => present;
+ acpi:
+ ensure => $acpi_available;
+ }
}