diff options
author | mh <mh@immerda.ch> | 2010-07-15 20:41:39 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-07-15 20:41:39 +0200 |
commit | dab730ed6b0667d4356c0e8e21e37719ea977a93 (patch) | |
tree | a00789980ad6bb8cbf27bf41c31de8c88dfb9171 /manifests/plugins/gentoo.pp | |
parent | e7d23dabf191c5416197af0b229fc90b94539405 (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/gentoo.pp')
-rw-r--r-- | manifests/plugins/gentoo.pp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/plugins/gentoo.pp b/manifests/plugins/gentoo.pp index 81d0e6b..25c1626 100644 --- a/manifests/plugins/gentoo.pp +++ b/manifests/plugins/gentoo.pp @@ -1,3 +1,5 @@ -class munin::plugins::gentoo inherits munin::plugins::base { - munin::plugin::deploy { "gentoo_lastupdated": config => "user portage\nenv.logfile /var/log/emerge.log\nenv.tail /usr/bin/tail\nenv.grep /bin/grep"} +class munin::plugins::gentoo { + munin::plugin::deploy { 'gentoo_lastupdated': + config => "user portage\nenv.logfile /var/log/emerge.log\nenv.tail /usr/bin/tail\nenv.grep /bin/grep" + } } |