summaryrefslogtreecommitdiff
path: root/manifests/plugin.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/plugin.pp')
-rw-r--r--manifests/plugin.pp6
1 files changed, 2 insertions, 4 deletions
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