From 724bc04aa9ece40fe2c54979afffdf53c5564758 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 3 Apr 2013 13:19:05 -0400 Subject: 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 --- manifests/init.pp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'manifests/init.pp') 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'; - } - } - } - } } -- cgit v1.2.3