aboutsummaryrefslogtreecommitdiff
path: root/manifests/physical.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-12-23 20:33:51 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-12-23 20:33:51 -0200
commit9d279e9dd9b86be0c3cbf577064fc94f3d775c1f (patch)
tree114679de1b43f91cbcb604ba2427b49d26b3a748 /manifests/physical.pp
parent79237c347a35d98629ce1ca79f69de81c9874ee0 (diff)
downloadpuppet-nodo-9d279e9dd9b86be0c3cbf577064fc94f3d775c1f.tar.gz
puppet-nodo-9d279e9dd9b86be0c3cbf577064fc94f3d775c1f.tar.bz2
Introducing $use_nagios_fqdn for physical nodes
Diffstat (limited to 'manifests/physical.pp')
-rw-r--r--manifests/physical.pp7
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/physical.pp b/manifests/physical.pp
index 055b010..68368ea 100644
--- a/manifests/physical.pp
+++ b/manifests/physical.pp
@@ -28,7 +28,12 @@ class nodo::physical inherits nodo {
include vserver::host
if $use_nagios != false {
- include nagios::target
+ if $use_nagios_fqdn == true {
+ include nagios::target::fqdn
+ }
+ else {
+ include nagios::target
+ }
nagios::service::ping { "$fqdn": }
}