diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-20 16:54:52 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-20 16:54:52 -0200 |
commit | d9848286efd375abbf4025feb540508b0d8d6220 (patch) | |
tree | c6355467daaa5547ea1796018e54b22ba34be2b8 /manifests/subsystems | |
parent | 82b911248650f1b8da03ec04ef4a9121f8e107e5 (diff) | |
download | puppet-nodo-d9848286efd375abbf4025feb540508b0d8d6220.tar.gz puppet-nodo-d9848286efd375abbf4025feb540508b0d8d6220.tar.bz2 |
Using different notation to get use_nagios_fqdn
Diffstat (limited to 'manifests/subsystems')
-rw-r--r-- | manifests/subsystems/monitor.pp | 3 |
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 { |