Changed Redhat's repo name and file
To match the one used by the bootstrapper. Otherwhise, we end up with two repos configured
This commit is contained in:
parent
79109b98f0
commit
4231029c62
18
kitchen.yml
18
kitchen.yml
|
@ -22,7 +22,7 @@ platforms:
|
||||||
- name: debian-8
|
- name: debian-8
|
||||||
- name: ubuntu-16.04
|
- name: ubuntu-16.04
|
||||||
- name: fedora-28
|
- name: fedora-28
|
||||||
# Fails on Debian due to vsyscall issues, see
|
# centos-6 guest fails on Debian hosts due to vsyscall issues, see
|
||||||
# https://hub.docker.com/_/centos, "A note about vsyscall"
|
# https://hub.docker.com/_/centos, "A note about vsyscall"
|
||||||
- name: centos-6
|
- name: centos-6
|
||||||
driver:
|
driver:
|
||||||
|
@ -85,6 +85,13 @@ suites:
|
||||||
- ubuntu-18.04
|
- ubuntu-18.04
|
||||||
- centos-7
|
- centos-7
|
||||||
provisioner:
|
provisioner:
|
||||||
|
# If we don't force bootstrapping with python3, centos bootstraps using python2
|
||||||
|
# and then, when switching the repo to python3 and tries to install
|
||||||
|
# the packages, complains with
|
||||||
|
# Downloading packages:
|
||||||
|
# https://repo.saltstack.com/py3/re.........rpm: [Errno -1] Package does not
|
||||||
|
# match intended download. Suggestion: run yum --enablerepo=saltstack clean metadata
|
||||||
|
salt_bootstrap_options: -X -x python3 -d git %s
|
||||||
salt_version: '2019.2'
|
salt_version: '2019.2'
|
||||||
pillars:
|
pillars:
|
||||||
salt.sls:
|
salt.sls:
|
||||||
|
@ -132,13 +139,12 @@ suites:
|
||||||
inspec_tests:
|
inspec_tests:
|
||||||
- path: test/integration/2018-3
|
- path: test/integration/2018-3
|
||||||
|
|
||||||
# To test salt on centos-6 we need to first use a python-2.6 version of salt (2016.11)
|
# centos-6 ships with python2.6, so it requires extra bootstrapping parameters
|
||||||
# and then upgrade it. See https://github.com/saltstack/salt/issues/47864
|
# to install python2.7
|
||||||
- name: v2018-3-py2-bootstrap
|
- name: v2018-3-py2-bootstrap
|
||||||
includes:
|
includes:
|
||||||
- centos-6
|
- centos-6
|
||||||
provisioner:
|
provisioner:
|
||||||
# As centos-6 ships with python2.6, we use the bootstrapper to install python2.7
|
|
||||||
salt_bootstrap_options: -X -d stable %s
|
salt_bootstrap_options: -X -d stable %s
|
||||||
salt_version: '2018.3'
|
salt_version: '2018.3'
|
||||||
pillars:
|
pillars:
|
||||||
|
@ -188,8 +194,8 @@ suites:
|
||||||
inspec_tests:
|
inspec_tests:
|
||||||
- path: test/integration/2017-7
|
- path: test/integration/2017-7
|
||||||
|
|
||||||
# To test salt on centos-6 we need to first use a python-2.6 version of salt (2016.11)
|
# centos-6 ships with python2.6, so it requires extra bootstrapping parameters
|
||||||
# and then upgrade it. See https://github.com/saltstack/salt/issues/47864
|
# to install python2.7
|
||||||
- name: v2017-7-py2-bootstrap
|
- name: v2017-7-py2-bootstrap
|
||||||
includes:
|
includes:
|
||||||
- centos-6
|
- centos-6
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
{%- if grains['os']|lower not in ('amazon', 'fedora') %}
|
{%- if grains['os']|lower not in ('amazon', 'fedora') %}
|
||||||
saltstack-pkgrepo:
|
saltstack-pkgrepo:
|
||||||
pkgrepo.managed:
|
pkgrepo.managed:
|
||||||
|
- name: saltstack
|
||||||
- humanname: SaltStack repo for RHEL/CentOS $releasever
|
- humanname: SaltStack repo for RHEL/CentOS $releasever
|
||||||
- baseurl: {{ salt_settings.pkgrepo }}
|
- baseurl: {{ salt_settings.pkgrepo }}
|
||||||
- enabled: 1
|
- enabled: 1
|
||||||
|
|
Loading…
Reference in New Issue