aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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": }
}