aboutsummaryrefslogtreecommitdiff
path: root/manifests/vserver.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/vserver.pp')
-rw-r--r--manifests/vserver.pp10
1 files changed, 8 insertions, 2 deletions
diff --git a/manifests/vserver.pp b/manifests/vserver.pp
index 55ed957..02448da 100644
--- a/manifests/vserver.pp
+++ b/manifests/vserver.pp
@@ -24,12 +24,18 @@ class nodo::vserver inherits nodo {
Monkeysphere_host <<| title == $hostname |>>
}
"third-party": {
- # Apply munin configuration for this node for third-party
- # hosted nodes.
+ # Apply munin and monkeysphere configuration for
+ # nodes hosted by third-parties.
munin_node { "$hostname": }
monkeysphere_host { "$hostname":
port => $node_ssh_port,
}
+
+ # Nagios configuration
+ if $use_nagios != false {
+ include nagios::target::fqdn
+ nagios::service::ping { "$fqdn": }
+ }
}
}