summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2013-04-03 13:19:05 -0400
committerMicah Anderson <micah@riseup.net>2013-04-03 13:19:05 -0400
commit724bc04aa9ece40fe2c54979afffdf53c5564758 (patch)
tree6966531eac36ad88b26ace1757d068059bb75f16 /manifests/init.pp
parent0bec75e40e5aa4458c960242298ab455fcffc88e (diff)
move the $use_nagios check into the stunnel::service define, where it is more
useful for creating accurate nagios-statd-proc checks for the correct stunnel names
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp11
1 files changed, 0 insertions, 11 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 270540d..1204909 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -24,15 +24,4 @@ class stunnel ( $ensure_version = 'present', $startboot = '1', $default_extra )
centos: { class { 'stunnel::centos': } }
default: { class { 'stunnel::default': } }
}
-
- if $use_nagios {
- case $nagios_stunnel_procs {
- false: { info("We aren't doing nagios checks for stunnel on ${::fqdn}" ) }
- default: { nagios::service
- { 'stunnel':
- check_command => 'nagios-stat-proc!/usr/bin/stunnel4!6!5!proc';
- }
- }
- }
- }
}