]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Using munin_node as exported resource
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 18 Feb 2010 16:40:33 +0000 (14:40 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 18 Feb 2010 16:40:33 +0000 (14:40 -0200)
manifests/init.pp

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