aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-20 17:19:58 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-20 17:19:58 -0200
commit18ab043e90de8889fe06944e3208bb4697f93e32 (patch)
tree7d9b2d3b5c0680a69b6b62541c79a00954c92c50
parent656789ec7d0f4d823cea7f4e090e59e24c3687e2 (diff)
downloadpuppet-nodo-18ab043e90de8889fe06944e3208bb4697f93e32.tar.gz
puppet-nodo-18ab043e90de8889fe06944e3208bb4697f93e32.tar.bz2
Using use_fqdn as parameter at monitor class
-rw-r--r--manifests/subsystems/monitor.pp2
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
}