diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-24 13:18:39 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-24 13:18:39 -0200 |
commit | ad27f5dac1870369abe10e88fbb034ffa391f12c (patch) | |
tree | 2ec4be14af75dbc7508d490ed552288973e3a006 /manifests/subsystems/monitor.pp | |
parent | 9c64cff37985a26f7aac5474928403f2605c588f (diff) | |
download | puppet-nodo-ad27f5dac1870369abe10e88fbb034ffa391f12c.tar.gz puppet-nodo-ad27f5dac1870369abe10e88fbb034ffa391f12c.tar.bz2 |
Lots of subsystem refactoring; minor node changes
Diffstat (limited to 'manifests/subsystems/monitor.pp')
-rw-r--r-- | manifests/subsystems/monitor.pp | 8 |
1 files changed, 4 insertions, 4 deletions
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}": } } } |