Skip to content

Commit 97871b3

Browse files
Merge pull request #2587 from Magisus/acceptance-ca-certs
(maint) Update ca-certificates
2 parents 99edda5 + 3189c2e commit 97871b3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
step 'Update CA certs on Centos' do
2+
hosts.each do |host|
3+
if host.platform =~ /el/
4+
on(host, 'yum update -y ca-certificates')
5+
elsif host.platform =~ /debian|ubuntu/
6+
on(host, 'apt-get update')
7+
on(host, 'apt-get install -y ca-certificates libgnutls30')
8+
end
9+
end
10+
end

0 commit comments

Comments
 (0)