summaryrefslogtreecommitdiff
path: root/kitchen-tests
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2016-11-08 09:08:41 -0800
committerThom May <thom@may.lt>2016-11-08 17:08:41 +0000
commit618b8955b32b325f63dd47b17ec70f65b2e8b132 (patch)
tree2f09be26b0ea2cbe09e4ae0c795ca4b3fa2ae3d0 /kitchen-tests
parent1d61e460675a540536bd4fc893b4bc6aa7070f21 (diff)
downloadchef-618b8955b32b325f63dd47b17ec70f65b2e8b132.tar.gz
Test on the latest fedora and fix yum failures in testing (#5525)
Use the latest fedora to avoid having to bump things every X months We need to make the cache afterwards. I ran into this same issue in the cron cookbook and I’ve updated the dnf_compat recipe in yum to do the same. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r--kitchen-tests/.kitchen.travis.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/kitchen-tests/.kitchen.travis.yml b/kitchen-tests/.kitchen.travis.yml
index 312764e9e4..6dd43d0879 100644
--- a/kitchen-tests/.kitchen.travis.yml
+++ b/kitchen-tests/.kitchen.travis.yml
@@ -75,12 +75,13 @@ platforms:
- RUN yum -y install which initscripts net-tools sudo wget
- RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers
-- name: fedora-23
+- name: fedora-latest
driver:
- image: fedora:23
+ image: fedora:latest
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
- RUN dnf -y install yum which initscripts rpm-build zlib-devel net-tools sudo wget
+ - RUN yum makecache
- RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers
- name: ubuntu-12.04