This is so that we stay consistent between all shared modules that are
using this pattern.
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
$timeoutconnect = false,
$timeoutidle = false,
$transparent = false,
- $use_nagios = false,
+ $manage_nagios = false,
$verify = false
) {
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";
}