aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem')
-rw-r--r--manifests/subsystem/monitor.pp13
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 {