diff --git a/manifests/stunnel.pp b/manifests/stunnel.pp index 25b2ff483..b2c56ec1d 100644 --- a/manifests/stunnel.pp +++ b/manifests/stunnel.pp @@ -31,10 +31,15 @@ # container. # Defaults to 'no' # +# [*debug*] +# (Optional) Sets the debug level in stunnel.conf +# Defaults to '4' which translates to 'warning'. +# class tripleo::stunnel ( $manage_service = true, $service_ensure = 'running', $foreground = 'no', + $debug = 'warning', ){ package { 'stunnel': ensure => 'present' diff --git a/templates/stunnel/foreground.erb b/templates/stunnel/foreground.erb index 2ceff96f5..8b09f4c4d 100644 --- a/templates/stunnel/foreground.erb +++ b/templates/stunnel/foreground.erb @@ -1 +1,2 @@ foreground = <%= @foreground %> +debug = <%= @debug %>