Skip to content

Commit 92946ae

Browse files
committed
(CAT-2051): Replaced centos-7 with rhel-7 and removed a repo link which returned 404
1 parent e28aa87 commit 92946ae

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-20.04
1717
strategy:
1818
fail-fast: false
19-
matrix: {'platform':['centos-7'],'collection':['puppet7-nightly', 'puppet8-nightly']}
19+
matrix: {'platform':['rhel-7'],'collection':['puppet7-nightly', 'puppet8-nightly']}
2020

2121
steps:
2222
- name: Checkout Source

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-20.04
1515
strategy:
1616
fail-fast: false
17-
matrix: {'platform':['centos-7'],'collection':['puppet7-nightly', 'puppet8-nightly']}
17+
matrix: {'platform':['rhel-7'],'collection':['puppet7-nightly', 'puppet8-nightly']}
1818

1919
steps:
2020
- name: Checkout Source

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ end
3939
group :development, :release_prep do
4040
gem "puppet-strings", '~> 4.0', require: false
4141
gem "puppetlabs_spec_helper", '~> 7.0', require: false
42+
gem 'puppet-modulebuilder', '~> 1.1', require: false
4243
end
4344
group :system_tests do
4445
gem "puppet_litmus", '~> 1.0', require: false, platforms: [:ruby, :x64_mingw]

spec/spec_helper_acceptance_local.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def execute_agent(role)
255255
run_shell('/sbin/iptables -F')
256256
end
257257
end
258-
if %r{redhat|centos}.match?(family)
258+
if %r{centos|rhel}.match?(family)
259259
runtime = 'docker'
260260
cni = 'weave'
261261
['controller', 'worker1', 'worker2'].each do |node|
@@ -271,7 +271,6 @@ def execute_agent(role)
271271
run_shell('usermod -aG docker $(whoami)')
272272
run_shell('systemctl start docker.service')
273273
run_shell('systemctl enable docker.service')
274-
create_remote_file('k8repo', '/etc/yum.repos.d/kubernetes.repo', k8repo)
275274
run_shell('yum install -y kubectl')
276275
end
277276
end

0 commit comments

Comments
 (0)