From 3689fd2503acefa585a2948d6a57d36965bef5a0 Mon Sep 17 00:00:00 2001 From: Samuel Cassiba Date: Thu, 8 Feb 2018 06:34:56 -0800 Subject: [PATCH] Pin test kitchen to chef 13.6.4 - chef 13.7 breaks in fun and exciting ways. until the next release emerges, to fix this, the temporary solution is to pin to 13.6 Change-Id: I5d4ccb946a9090b2de1811aa9207ca4b85b4aafb --- .kitchen.dokken.yml | 2 +- .kitchen.multi.yml | 2 +- .kitchen.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.kitchen.dokken.yml b/.kitchen.dokken.yml index 26c9d45..5c2dc07 100644 --- a/.kitchen.dokken.yml +++ b/.kitchen.dokken.yml @@ -2,7 +2,7 @@ driver: name: dokken privileged: true - chef_version: current + chef_version: '13.6.4' # workaround for chef/chef#6784 volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro - /sys/fs/selinux:/sys/fs/selinux:rw diff --git a/.kitchen.multi.yml b/.kitchen.multi.yml index 26ece1e..4f2f899 100644 --- a/.kitchen.multi.yml +++ b/.kitchen.multi.yml @@ -13,7 +13,7 @@ provisioner: # For example: # always_update_cookbooks: <%= !ENV['CI'] %> always_update_cookbooks: true - require_chef_omnibus: 13 + require_chef_omnibus: '13.6.4' # workaround for chef/chef#6784 # Copy secret to /tmp/kitchen on test VM. Kitchen tries to gather secrets # before any recipes had a chance to run -> we cannot use a recipe to put the # secrets file in place. diff --git a/.kitchen.yml b/.kitchen.yml index 9f1683f..66963c5 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -15,7 +15,7 @@ provisioner: # For example: # always_update_cookbooks: <%= !ENV['CI'] %> always_update_cookbooks: true - require_chef_omnibus: 13 + require_chef_omnibus: '13.6.4' # workaround for chef/chef#6784 # Copy secret to /tmp/kitchen on test VM. Kitchen tries to gather secrets # before any recipes had a chance to run -> we cannot use a recipe to put the # secrets file in place.