diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-12-23 20:33:51 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-12-23 20:33:51 -0200 |
commit | 9d279e9dd9b86be0c3cbf577064fc94f3d775c1f (patch) | |
tree | 114679de1b43f91cbcb604ba2427b49d26b3a748 | |
parent | 79237c347a35d98629ce1ca79f69de81c9874ee0 (diff) | |
download | puppet-nodo-9d279e9dd9b86be0c3cbf577064fc94f3d775c1f.tar.gz puppet-nodo-9d279e9dd9b86be0c3cbf577064fc94f3d775c1f.tar.bz2 |
Introducing $use_nagios_fqdn for physical nodes
-rw-r--r-- | manifests/physical.pp | 7 |
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": } } |