From b4342170d4235998b9b8521309b379dbcb8bfc40 Mon Sep 17 00:00:00 2001 From: Dale McDiarmid Date: Fri, 18 Mar 2016 20:50:55 +0000 Subject: [PATCH] Attempted fix at issues associated with kitchen OS test --- .kitchen.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.kitchen.yml b/.kitchen.yml index 4874b31..c3031ba 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -21,6 +21,7 @@ platforms: - apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:ansible/ansible - apt-get update && apt-get -y -q install ansible python-apt python-pycurl use_sudo: false + ansible_platform: ubuntu - name: debian-7 driver_config: image: electrical/debian:7.3 @@ -31,6 +32,7 @@ platforms: - apt-get install -y -q ansible - apt-get install -y -q net-tools use_sudo: false + ansible_platform: debian - name: debian-8 driver_config: image: electrical/debian:8 @@ -44,11 +46,13 @@ platforms: - sed -ri 's/^#?UsePAM .*/UsePAM no/' /etc/ssh/sshd_config use_sudo: false run_command: "/sbin/init" + ansible_platform: debian - name: centos-6 driver_config: image: electrical/centos:6.4-1 privileged: true use_sudo: false + ansible_platform: centos - name: centos-7 driver_config: image: electrical/centos:7 @@ -61,6 +65,7 @@ platforms: run_command: "/usr/sbin/init" privileged: true use_sudo: false + ansible_platform: centos suites: - name: standard-2x