diff options
-rw-r--r-- | manifests/subsystems/monitor.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/subsystems/monitor.pp b/manifests/subsystems/monitor.pp index 26ba019..6d3b5aa 100644 --- a/manifests/subsystems/monitor.pp +++ b/manifests/subsystems/monitor.pp @@ -1,6 +1,7 @@ class monitor( $type = 'vserver', $use_nagios = true, + $use_fqdn = extlookup('use_nagios_fqdn', false) ) { if $use_nagios != false { @@ -11,7 +12,6 @@ class monitor( } if $type == 'host' or $type == 'personal' { - $use_fqdn = extlookup('use_nagios_fqdn', false) if $use_fqdn == true { include nagios::target::fqdn } |