From d28aa4882daeb624b0467c2f3c8066bf54d14adc Mon Sep 17 00:00:00 2001 From: Mike Riddle Date: Tue, 18 Jul 2023 10:29:44 -0400 Subject: [PATCH] (#105) Added Rocky to os lists in templates (#106) Fixes #105 --- templates/connection_conf.erb | 4 ++-- templates/instance_conf.erb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/connection_conf.erb b/templates/connection_conf.erb index ebfddff..4ccdc7c 100644 --- a/templates/connection_conf.erb +++ b/templates/connection_conf.erb @@ -44,7 +44,7 @@ if has_variable?('setgid') end end - if ['RedHat','CentOS','OracleLinux'].include?(@facts['os']['name']) + if ['RedHat','CentOS','OracleLinux','Rocky'].include?(@facts['os']['name']) stunnel_conf << "fips = #{bool_translate[(@facts['fips_enabled'] || @fips)]}" end @@ -150,7 +150,7 @@ else stunnel_conf << "retry = #{bool_translate[@retry]}" end - if ['RedHat','CentOS','OracleLinux'].include?(@facts['os']['name']) + if ['RedHat','CentOS','OracleLinux','Rocky'].include?(@facts['os']['name']) stunnel_conf << "renegotiation = #{bool_translate[@renegotiation]}" stunnel_conf << "reset = #{bool_translate[@reset]}" diff --git a/templates/instance_conf.erb b/templates/instance_conf.erb index 0897ee2..dfbf8e5 100644 --- a/templates/instance_conf.erb +++ b/templates/instance_conf.erb @@ -41,7 +41,7 @@ end end - if ['RedHat','CentOS','OracleLinux'].include?(@facts['os']['name']) + if ['RedHat','CentOS','OracleLinux','Rocky'].include?(@facts['os']['name']) stunnel_conf << "fips = #{bool_translate[(@facts['fips_enabled'] || @fips)]}" end @@ -147,7 +147,7 @@ end - if ['RedHat','CentOS','OracleLinux'].include?(@facts['os']['name']) + if ['RedHat','CentOS','OracleLinux','Rocky'].include?(@facts['os']['name']) stunnel_conf << "renegotiation = #{bool_translate[@renegotiation]}" stunnel_conf << "reset = #{bool_translate[@reset]}"