From 18ab043e90de8889fe06944e3208bb4697f93e32 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 20 Jan 2013 17:19:58 -0200 Subject: Using use_fqdn as parameter at monitor class --- manifests/subsystems/monitor.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests') 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 } -- cgit v1.2.3