From: Silvio Rhatto Date: Sun, 20 Jan 2013 18:54:52 +0000 (-0200) Subject: Using different notation to get use_nagios_fqdn X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d9848286efd375abbf4025feb540508b0d8d6220;p=puppet-nodo.git Using different notation to get use_nagios_fqdn --- 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 {