]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Quoting variables at munin_node
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 21 Feb 2010 14:00:42 +0000 (11:00 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 21 Feb 2010 14:00:42 +0000 (11:00 -0300)
manifests/munin.pp

index b23978715453dee14cfadae607a72f244dc60db7..2e3211782549bfa33828b0cd479dd8dd3d72bef0 100644 (file)
@@ -6,13 +6,13 @@ define munin_node($port = '4949') {
   }
 
   $munin_allow = $node_munin_allow ? {
-    ''      => $global_munin_allow,
-    default => $node_munin_allow,
+    ''      => "$global_munin_allow",
+    default => "$node_munin_allow",
   }
 
   $munin_port = $node_munin_port ? {
-    ''      => $port,
-    default => $node_munin_port,
+    ''      => "$port",
+    default => "$node_munin_port",
   }
 
   include munin::client