diff options
author | Gabriel Filion <gabster@lelutin.ca> | 2015-02-20 18:06:55 -0500 |
---|---|---|
committer | Gabriel Filion <gabster@lelutin.ca> | 2015-02-20 18:06:55 -0500 |
commit | 6f30dd81e946998a222cc95872a33548e856c7f5 (patch) | |
tree | 6d5fa55d17ab7b6a4102f90749e127fd2752817b | |
parent | a4b8195e7a5d444448b3750d66ec725d6f7c67ab (diff) |
Rename nagios flag to manage_nagios
This is so that we stay consistent between all shared modules that are
using this pattern.
-rw-r--r-- | README | 8 | ||||
-rw-r--r-- | manifests/service.pp | 4 |
2 files changed, 6 insertions, 6 deletions
@@ -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"; } |