Skip to content

Commit

Permalink
Merge pull request puppetlabs-toy-chest#803 from imaqsood/PE-37599
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcooper authored Mar 19, 2024
2 parents 096e683 + 41389ab commit cba7d57
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions configs/projects/_shared-client-tools-runtime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,10 @@

platform = proj.get_platform

# We need to explicitly define 1.1.1k here to avoid
# build dep conflicts between openssl-1.1.1 needed by curl
# and krb5-devel
if proj.settings[:openssl_version]
# already defined in the project
elsif platform.name =~ /^redhatfips-8/
proj.setting(:openssl_version, '1.1.1k')
elsif platform.name =~ /^redhatfips-*/
proj.setting(:openssl_version, '1.1.1-fips')
else
proj.setting(:openssl_version, '1.1.1')
end
Expand Down Expand Up @@ -106,14 +103,7 @@

# Common deps
proj.component "runtime-client-tools"

if platform.name =~ /^redhatfips-7/ && proj.openssl_version == '1.1.1'
proj.component "openssl-1.1.1-fips"
elsif platform.name =~ /^redhatfips-8/ && proj.openssl_version == '1.1.1k'
proj.component "openssl-1.1.1-fips"
elsif proj.settings[:openssl_version]
proj.component "openssl-#{proj.openssl_version}"
end
proj.component "openssl-#{proj.openssl_version}"
proj.component "curl"
proj.component "puppet-ca-bundle"
proj.component "libicu"
Expand Down

0 comments on commit cba7d57

Please sign in to comment.