summaryrefslogtreecommitdiff
path: root/manifests/plugin.pp
diff options
context:
space:
mode:
authordavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>2007-08-08 09:15:57 +0000
committerdavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>2007-08-08 09:15:57 +0000
commit9f7e01c7af791040f483376e419ed83103837b12 (patch)
tree94a14cdb68995bf25c671c3418eeabe0988483a3 /manifests/plugin.pp
parentb6e5123196bc8199a895e39a33ab62cf9c4ff236 (diff)
fix xen0/xenu usage; fix acpi munin plugin on vservers; fix xen munin plugins
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@188 f03ff2f1-f02d-0410-970d-b9634babeaa1
Diffstat (limited to 'manifests/plugin.pp')
-rw-r--r--manifests/plugin.pp14
1 files changed, 11 insertions, 3 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp
index fb2f882..fdb58ca 100644
--- a/manifests/plugin.pp
+++ b/manifests/plugin.pp
@@ -85,9 +85,17 @@ class munin::plugins::base {
interfaces:
source => "puppet://$servername/munin/facter/interfaces.rb",
require => Package[iproute];
- acpi_available:
- source => "puppet://$servername/munin/facter/acpi_available.rb",
- require => Package[acpi];
+ }
+ case $vserver {
+ guest: {}
+ '': {}
+ default: {
+ puppet::fact{
+ acpi_available:
+ source => "puppet://$servername/munin/facter/acpi_available.rb",
+ require => Package[acpi];
+ }
+ }
}
}