File tree 1 file changed +7
-6
lines changed 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 25
25
# and krb5-devel
26
26
if proj . settings [ :openssl_version ]
27
27
# already defined in the project
28
- elsif platform . name =~ /^redhatfips-8 /
29
- proj . setting ( :openssl_version , '1.1.1k ' )
28
+ elsif platform . name =~ /^redhatfips-[89] /
29
+ proj . setting ( :openssl_version , '1.1.1-fips ' )
30
30
else
31
31
proj . setting ( :openssl_version , '1.1.1' )
32
32
end
107
107
# Common deps
108
108
proj . component "runtime-client-tools"
109
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'
110
+ if proj . openssl_version =~ /^3 \. /
111
+ proj . component "openssl-#{ proj . openssl_version } "
112
+ elsif platform . name =~ /^redhatfips-.*/
113
113
proj . component "openssl-1.1.1-fips"
114
- elsif proj . settings [ :openssl_version ]
114
+ else
115
115
proj . component "openssl-#{ proj . openssl_version } "
116
116
end
117
+
117
118
proj . component "curl"
118
119
proj . component "puppet-ca-bundle"
119
120
proj . component "libicu"
You can’t perform that action at this time.
0 commit comments