File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ def puppetdb_supported_platforms()
64
64
[
65
65
/debian-8/ ,
66
66
/debian-9/ ,
67
+ /el-6/ ,
67
68
/el-7/ ,
68
69
/ubuntu-16.04/ ,
69
70
/ubuntu-18.04/
Original file line number Diff line number Diff line change 1
1
step 'Update CA certs on Centos' do
2
2
hosts . each do |host |
3
- if host . platform =~ /el-7/
3
+ if host . platform =~ /el-6/
4
+ # Our EL6 images do not have recent enough repos to pull down the updated ca-certificates package,
5
+ # so we need to edit their configs before attempting to upgrade it
6
+ on ( host , 'rm -f /etc/yum.repos.d/localmirror-extras.repo /etc/yum.repos.d/localmirror-optional.repo' )
7
+ on ( host , "sed -i 's/68/610/' /etc/yum.repos.d/localmirror-os.repo" )
8
+ on ( host , 'yum update -y ca-certificates' )
9
+ elsif host . platform =~ /el-7/
4
10
on ( host , 'yum update -y ca-certificates' )
5
11
elsif host . platform =~ /debian|ubuntu/
6
12
on ( host , 'apt-get update' )
You can’t perform that action at this time.
0 commit comments