diff options
-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"; } |