diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-20 17:19:58 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-20 17:19:58 -0200 |
commit | 18ab043e90de8889fe06944e3208bb4697f93e32 (patch) | |
tree | 7d9b2d3b5c0680a69b6b62541c79a00954c92c50 /manifests | |
parent | 656789ec7d0f4d823cea7f4e090e59e24c3687e2 (diff) | |
download | puppet-nodo-18ab043e90de8889fe06944e3208bb4697f93e32.tar.gz puppet-nodo-18ab043e90de8889fe06944e3208bb4697f93e32.tar.bz2 |
Using use_fqdn as parameter at monitor class
Diffstat (limited to 'manifests')
-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 } |