Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions acceptance/lib/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def puppetdb_supported_platforms()
[
/debian-8/,
/debian-9/,
/el-6/,
/el-7/,
/ubuntu-16.04/,
/ubuntu-18.04/
Expand Down
8 changes: 7 additions & 1 deletion acceptance/suites/pre_suite/foss/10_update_ca_certs.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
step 'Update CA certs on Centos' do
hosts.each do |host|
if host.platform =~ /el-7/
if host.platform =~ /el-6/
# Our EL6 images do not have recent enough repos to pull down the updated ca-certificates package,
# so we need to edit their configs before attempting to upgrade it
on(host, 'rm -f /etc/yum.repos.d/localmirror-extras.repo /etc/yum.repos.d/localmirror-optional.repo')
on(host, "sed -i 's/68/610/' /etc/yum.repos.d/localmirror-os.repo")
on(host, 'yum update -y ca-certificates')
elsif host.platform =~ /el-7/
on(host, 'yum update -y ca-certificates')
elsif host.platform =~ /debian|ubuntu/
on(host, 'apt-get update')
Expand Down