Skip to content

Commit 79109b9

Browse files
committed
Try to make centos-6 work
1 parent 5ffc1e5 commit 79109b9

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ env:
1717

1818
- INSTANCE: v2018-3-py2-debian-8
1919
- INSTANCE: v2018-3-py2-ubuntu-1604
20-
- INSTANCE: v2018-3-py2-bootstrap-2016-11-centos-6
20+
- INSTANCE: v2018-3-py2-bootstrap-centos-6
2121
- INSTANCE: v2018-3-py2-forced-version-fedora-28
2222
- INSTANCE: v2018-3-py2-opensuse-423
2323

2424
- INSTANCE: v2017-7-py2-debian-8
2525
- INSTANCE: v2017-7-py2-ubuntu-1604
26-
- INSTANCE: v2017-7-py2-bootstrap-2016-11-centos-6
26+
- INSTANCE: v2017-7-py2-bootstrap-centos-6
2727

2828
script:
2929
- bundle exec kitchen verify ${INSTANCE}

kitchen.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@ suites:
134134

135135
# To test salt on centos-6 we need to first use a python-2.6 version of salt (2016.11)
136136
# and then upgrade it. See https://github.com/saltstack/salt/issues/47864
137-
- name: v2018-3-py2-bootstrap-2016-11
137+
- name: v2018-3-py2-bootstrap
138138
includes:
139139
- centos-6
140140
provisioner:
141-
# We require an old version of salt in the provisioner or,
142-
# the salt formula fails to downgrade to the desired version to test
143-
salt_version: '2016.11'
141+
# As centos-6 ships with python2.6, we use the bootstrapper to install python2.7
142+
salt_bootstrap_options: -X -d stable %s
143+
salt_version: '2018.3'
144144
pillars:
145145
salt.sls:
146146
salt:
@@ -190,13 +190,13 @@ suites:
190190

191191
# To test salt on centos-6 we need to first use a python-2.6 version of salt (2016.11)
192192
# and then upgrade it. See https://github.com/saltstack/salt/issues/47864
193-
- name: v2017-7-py2-bootstrap-2016-11
193+
- name: v2017-7-py2-bootstrap
194194
includes:
195195
- centos-6
196196
provisioner:
197-
# We require an old version of salt in the provisioner or,
198-
# the salt formula fails to downgrade to the desired version to test
199-
salt_version: '2016.11'
197+
# As centos-6 ships with python2.6, we use the bootstrapper to install python2.7
198+
salt_bootstrap_options: -X -d stable %s
199+
salt_version: '2017.7'
200200
pillars:
201201
salt.sls:
202202
salt:

0 commit comments

Comments
 (0)