diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-06-04 11:11:45 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-06-04 11:11:45 -0300 |
commit | 0f4c86322541b93ba667e5f410c9b1af6a7b83f9 (patch) | |
tree | 001b72fd63c7fcdd3c48e802f25e593595204775 /manifests | |
parent | 6d978291639d6f0537581edef7db27939bd9411f (diff) | |
download | puppet-nodo-0f4c86322541b93ba667e5f410c9b1af6a7b83f9.tar.gz puppet-nodo-0f4c86322541b93ba667e5f410c9b1af6a7b83f9.tar.bz2 |
Adding check_command parameter to nodo::subsystem::monitor
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/subsystem/monitor.pp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/manifests/subsystem/monitor.pp b/manifests/subsystem/monitor.pp index f38cffe..99538bb 100644 --- a/manifests/subsystem/monitor.pp +++ b/manifests/subsystem/monitor.pp @@ -1,10 +1,11 @@ class nodo::subsystem::monitor( - $type = 'vserver', - $use_nagios = hiera('nodo::subsystem::monitor::use_nagios', True), - $check_ping = hiera('nodo::subsystem::monitor::check_ping', present), - $check_ssh = hiera('nodo::subsystem::monitor::check_ssh', absent), - $address = hiera('nodo::subsystem::monitor::address', $::ipaddress), - $ping_rate = hiera('nodo::subsystem::monitor::ping_rate', '!100.0,20%!500.0,60%') + $TYPE = 'vserver', + $use_nagios = hiera('nodo::subsystem::monitor::use_nagios', True), + $check_ping = hiera('nodo::subsystem::monitor::check_ping', present), + $check_ssh = hiera('nodo::subsystem::monitor::check_ssh', absent), + $address = hiera('nodo::subsystem::monitor::address', $::ipaddress), + $ping_rate = hiera('nodo::subsystem::monitor::ping_rate', '!100.0,20%!500.0,60%'), + $check_command = hiera('nodo::subsystem::monitor::check_command', 'check_ping') ) { if $use_nagios != false { |