aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/monitor.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/monitor.pp')
-rw-r--r--manifests/subsystems/monitor.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/subsystems/monitor.pp b/manifests/subsystems/monitor.pp
index 2e59838..0a6734e 100644
--- a/manifests/subsystems/monitor.pp
+++ b/manifests/subsystems/monitor.pp
@@ -11,7 +11,8 @@ class monitor(
}
if $type == 'host' or $type == 'personal' {
- if extlookup('use_nagios_fqdn', false) == true {
+ $use_nagios_fqdn = extlookup('use_nagios_fqdn', false)
+ if $use_nagios_fqdn == true {
include nagios::target::fqdn
}
else {