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/dom0.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/dom0.pp')
-rw-r--r-- | manifests/plugins/dom0.pp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/manifests/plugins/dom0.pp b/manifests/plugins/dom0.pp index 8d919c3..3be3e3f 100644 --- a/manifests/plugins/dom0.pp +++ b/manifests/plugins/dom0.pp @@ -1,9 +1,7 @@ -class munin::plugins::dom0 inherits munin::plugins::physical { - munin::plugin::deploy { "xen": config => "user root"} - munin::plugin::deploy { "xen-cpu": config => "user root"} - munin::plugin::deploy { "xen_memory": config => "user root"} - munin::plugin::deploy { "xen_mem": config => "user root"} - munin::plugin::deploy { "xen_vm": config => "user root"} - munin::plugin::deploy { "xen_vbd": config => "user root"} - munin::plugin::deploy { "xen_traffic_all": config => "user root"} +class munin::plugins::dom0 { + munin::plugin::deploy { + [ 'xen', 'xen-cpu', 'xen_memory', 'xen_mem', + 'xen_vm', 'xen_vbd' 'xen_traffic_all' ]: + config => 'user root'; + } } |