From 356a358f940fb9e4da28a4015a5dbaa73ae760e0 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 19 Feb 2010 01:08:56 -0200 Subject: Using $virtual_munin instead of $munin_allow --- manifests/vserver.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/vserver.pp b/manifests/vserver.pp index c2e29a4..b7d2c98 100644 --- a/manifests/vserver.pp +++ b/manifests/vserver.pp @@ -59,8 +59,8 @@ class vserver::host { } # Setup some plugins if munin is enabled in the system - case $munin_allow { - '': {} + case $virtual_munin { + false: {} default: { file { "/usr/local/share/munin-plugins/vserver_resources": @@ -79,8 +79,8 @@ class vserver::host { } # Setup some plugins if munin is enabled in the system - case $munin_allow { - '': {} + case $virtual_munin { + false: {} default: { # This creates a load average graph combining the individual load averages of each vserver on the host munin::plugin { -- cgit v1.2.3