aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 11667ff..ca31f2b 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -181,13 +181,13 @@ class nodo::vserver inherits nodo {
dohwinfo => false,
}
+ # Apply munin configuration for this node
+ Munin_node <<| tag == $hostname |>>
+
# We include munin configuration if it's not defined by
# and exported resource.
- if !defined(Munin_node[$hostname]) {
+ if !(defined(munin::client) {
include munin::client
- } else {
- # Apply munin configuration for this node
- Munin_node <<| tag == $hostname |>>
}
# Define a vserver instance