]> gitweb.fluxo.info Git - puppet-virtual.git/commitdiff
Using $virtual_munin instead of $munin_allow
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 19 Feb 2010 03:08:56 +0000 (01:08 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 19 Feb 2010 03:08:56 +0000 (01:08 -0200)
manifests/vserver.pp

index c2e29a4949913f4669953628f14c95968a380e5c..b7d2c988f15060f6c554575d932661dbb3d6f0f1 100644 (file)
@@ -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 {