From: Silvio Rhatto Date: Fri, 19 Feb 2010 03:08:56 +0000 (-0200) Subject: Using $virtual_munin instead of $munin_allow X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=356a358f940fb9e4da28a4015a5dbaa73ae760e0;p=puppet-virtual.git Using $virtual_munin instead of $munin_allow --- 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 {