aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-02-18 12:38:38 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-02-18 12:38:38 -0200
commit956399b8dc9aab276579dc15dfe370862430b0d7 (patch)
tree6019466297097ecb74630f530656d4a88c2f0f06 /manifests/init.pp
parent20ab6cc5414c769f90346d61798920d260f1fbf8 (diff)
downloadpuppet-nodo-956399b8dc9aab276579dc15dfe370862430b0d7.tar.gz
puppet-nodo-956399b8dc9aab276579dc15dfe370862430b0d7.tar.bz2
Minor fix when realizing munin_node
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index b09b6d4..a2a98d5 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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