From 9d279e9dd9b86be0c3cbf577064fc94f3d775c1f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 23 Dec 2011 20:33:51 -0200 Subject: Introducing $use_nagios_fqdn for physical nodes --- manifests/physical.pp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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": } } -- cgit v1.2.3