]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Minor fix when realizing munin_node
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 18 Feb 2010 14:38:38 +0000 (12:38 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 18 Feb 2010 14:38:38 +0000 (12:38 -0200)
manifests/init.pp

index b09b6d44fae3a1d45d3b467b66561ea554fe7b40..a2a98d5aa230d0b0fed459d0f71aa66c644f03e6 100644 (file)
@@ -183,7 +183,7 @@ class nodo::vserver inherits nodo {
   }
 
   # Apply munin configuration for this node
-  Munin_node <| tag == $name |>
+  Munin_node <| tag == $hostname |>
 
   # Define a vserver instance
   define instance($context, $ensure = 'running', $proxy = false, $puppetmaster = false, $gitd = false,
@@ -219,8 +219,8 @@ class nodo::vserver inherits nodo {
 
     # Create a munin virtual resource to be realized in the node
     @munin_node { "$name":
-      id   => $id,
-      tag  => $name,
+      id  => $id,
+      tag => $name,
     }
 
     # Sound support