diff options
Diffstat (limited to 'manifests/plugin.pp')
-rw-r--r-- | manifests/plugin.pp | 14 |
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]; + } + } } } |