From 9f7e01c7af791040f483376e419ed83103837b12 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 8 Aug 2007 09:15:57 +0000 Subject: 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 --- manifests/plugin.pp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'manifests/plugin.pp') 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]; + } + } } } -- cgit v1.2.3