Skip to content

Commit

Permalink
(#105) Added Rocky to os lists in templates (#106)
Browse files Browse the repository at this point in the history
Fixes #105
  • Loading branch information
michael-riddle authored Jul 18, 2023
1 parent 486c804 commit d28aa48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/connection_conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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]}"

Expand Down
4 changes: 2 additions & 2 deletions templates/instance_conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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]}"

Expand Down

0 comments on commit d28aa48

Please sign in to comment.