Skip to content

Commit ff0ee52

Browse files
committed
(PA-4813) Ship FIPS version of puppet-cacerts
This relies on a new make target in the puppet-ca-bundle component.
1 parent b2d06a8 commit ff0ee52

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

configs/components/puppet-ca-bundle.rb

+7-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,14 @@
1010
openssl_cmd = "#{settings[:bindir]}/openssl"
1111
end
1212

13+
target = if platform.is_fips?
14+
'install-fips'
15+
else
16+
'install'
17+
end
18+
1319
install_commands = [
14-
"#{platform[:make]} install OPENSSL=#{openssl_cmd} USER=0 GROUP=0 DESTDIR=#{File.join(settings[:prefix], 'ssl')}"
20+
"#{platform[:make]} #{target} OPENSSL=#{openssl_cmd} USER=0 GROUP=0 DESTDIR=#{File.join(settings[:prefix], 'ssl')}"
1521
]
1622

1723
pkg.install do

0 commit comments

Comments
 (0)