From d9848286efd375abbf4025feb540508b0d8d6220 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 20 Jan 2013 16:54:52 -0200 Subject: Using different notation to get use_nagios_fqdn --- manifests/subsystems/monitor.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests') 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 { -- cgit v1.2.3