File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 2020
2121platform = proj . get_platform
2222
23- # We need to explicitly define 1.1.1k here to avoid
24- # build dep conflicts between openssl-1.1.1 needed by curl
25- # and krb5-devel
2623if proj . settings [ :openssl_version ]
2724 # already defined in the project
28- elsif platform . name =~ /^redhatfips-8 /
29- proj . setting ( :openssl_version , '1.1.1k ' )
25+ elsif platform . name =~ /^redhatfips-* /
26+ proj . setting ( :openssl_version , '1.1.1-fips ' )
3027else
3128 proj . setting ( :openssl_version , '1.1.1' )
3229end
106103
107104# Common deps
108105proj . component "runtime-client-tools"
109-
110- if platform . name =~ /^redhatfips-7/ && proj . openssl_version == '1.1.1'
111- proj . component "openssl-1.1.1-fips"
112- elsif platform . name =~ /^redhatfips-8/ && proj . openssl_version == '1.1.1k'
113- proj . component "openssl-1.1.1-fips"
114- elsif proj . settings [ :openssl_version ]
115- proj . component "openssl-#{ proj . openssl_version } "
116- end
106+ proj . component "openssl-#{ proj . openssl_version } "
117107proj . component "curl"
118108proj . component "puppet-ca-bundle"
119109proj . component "libicu"
You can’t perform that action at this time.
0 commit comments