From 6f30dd81e946998a222cc95872a33548e856c7f5 Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Fri, 20 Feb 2015 18:06:55 -0500 Subject: Rename nagios flag to manage_nagios This is so that we stay consistent between all shared modules that are using this pattern. --- README | 8 ++++---- manifests/service.pp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README b/README index 32698b3..509650f 100644 --- a/README +++ b/README @@ -55,8 +55,8 @@ stunnel configuration variable (see manifests/server.pp) which will be used to create the /etc/stunnel/${name}.conf file, and then notify the stunnel service so it will restart. -If you pass $use_nagios to this define, it will create a nagios::service entry -for stunnel_${name} which will watch for the appropriate number processes with -that configuration name +If you pass $manage_nagios to this define, it will create a nagios::service +entry for stunnel_${name} which will watch for the appropriate number processes +with that configuration name + - \ No newline at end of file diff --git a/manifests/service.pp b/manifests/service.pp index 666826d..910f714 100644 --- a/manifests/service.pp +++ b/manifests/service.pp @@ -51,7 +51,7 @@ define stunnel::service ( $timeoutconnect = false, $timeoutidle = false, $transparent = false, - $use_nagios = false, + $manage_nagios = false, $verify = false ) { @@ -71,7 +71,7 @@ define stunnel::service ( mode => '0600'; } - if $use_nagios { + if $manage_nagios { nagios::service { "stunnel_${name}": check_command => "nagios-stat-proc!/usr/bin/stunnel4 /etc/stunnel/${name}.conf!6!5!proc"; } -- cgit v1.2.3