From ad27f5dac1870369abe10e88fbb034ffa391f12c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 24 Jan 2013 13:18:39 -0200 Subject: Lots of subsystem refactoring; minor node changes --- manifests/subsystems/monitor.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'manifests/subsystems/monitor.pp') diff --git a/manifests/subsystems/monitor.pp b/manifests/subsystems/monitor.pp index 3712e79..45608a9 100644 --- a/manifests/subsystems/monitor.pp +++ b/manifests/subsystems/monitor.pp @@ -1,14 +1,14 @@ class monitor( - $type = 'vserver', + $type = 'vserver', $use_nagios = hiera('nodo::monitor::use_nagios', True), - $use_fqdn = hiera('nodo::monitor::use_nagios_fqdn', false) + $use_fqdn = hiera('nodo::monitor::use_nagios_fqdn', false) ) { if $use_nagios != false { if $type == 'vserver' { include nagios::target::fqdn - nagios::service::ping { "$fqdn": } + nagios::service::ping { "${::fqdn}": } } if $type == 'host' or $type == 'personal' { @@ -18,7 +18,7 @@ class monitor( else { include nagios::target } - nagios::service::ping { "$fqdn": } + nagios::service::ping { "${::fqdn}": } } } -- cgit v1.2.3