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()
6464 [
6565 /debian-8/ ,
6666 /debian-9/ ,
67+ /el-6/ ,
6768 /el-7/ ,
6869 /ubuntu-16.04/ ,
6970 /ubuntu-18.04/
Original file line number Diff line number Diff line change 11step 'Update CA certs on Centos' do
22 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/
410 on ( host , 'yum update -y ca-certificates' )
511 elsif host . platform =~ /debian|ubuntu/
612 on ( host , 'apt-get update' )
You can’t perform that action at this time.
0 commit comments