From 12566b8a142d2712a8059c02abf2b89cc59ff5e0 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 8 Aug 2007 07:13:06 +0000 Subject: fix acpi_available return values and usage git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@183 f03ff2f1-f02d-0410-970d-b9634babeaa1 --- manifests/plugin.pp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'manifests') diff --git a/manifests/plugin.pp b/manifests/plugin.pp index e875ddb..fb2f882 100644 --- a/manifests/plugin.pp +++ b/manifests/plugin.pp @@ -112,10 +112,8 @@ class munin::plugins::linux inherits munin::plugins::base { vmstat ]: ensure => present; - } - - if $acpi_available { - plugin { acpi: } + acpi: + ensure => $acpi_available; } include munin::plugins::interfaces -- cgit v1.2.3