summaryrefslogtreecommitdiff
path: root/kitchen-tests/.kitchen.travis.yml
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-05-25 10:18:40 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-05-25 10:18:40 -0700
commit5f63ad8716e03a29a515aed8c138f41327638901 (patch)
tree7c2de05d913216189b69361bc64ef84f098e96ea /kitchen-tests/.kitchen.travis.yml
parentd96e7295860896d08b1ee943e83c7bb828053a63 (diff)
downloadchef-5f63ad8716e03a29a515aed8c138f41327638901.tar.gz
add a few more distros to kitchen testinglcg/kitchen-tests3
adds debian, centos-7 and fedora-23
Diffstat (limited to 'kitchen-tests/.kitchen.travis.yml')
-rw-r--r--kitchen-tests/.kitchen.travis.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/kitchen-tests/.kitchen.travis.yml b/kitchen-tests/.kitchen.travis.yml
index 9946935917..8bc41adb00 100644
--- a/kitchen-tests/.kitchen.travis.yml
+++ b/kitchen-tests/.kitchen.travis.yml
@@ -33,6 +33,7 @@ platforms:
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get -y install zlib1g-dev sudo net-tools
+ - RUN /bin/mkdir /var/run/sshd
- name: debian-8
driver:
@@ -50,6 +51,7 @@ platforms:
intermediate_instructions:
- RUN yum clean all
- RUN yum install -y which initscripts net-tools sudo
+ - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers
- name: centos-6
driver:
@@ -58,6 +60,7 @@ platforms:
intermediate_instructions:
- RUN yum clean all
- RUN yum -y install which initscripts net-tools sudo
+ - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers
- name: centos-7
driver:
@@ -66,13 +69,15 @@ platforms:
intermediate_instructions:
- RUN yum clean all
- RUN yum -y install which initscripts net-tools sudo
+ - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers
- name: fedora-23
driver:
image: fedora:23
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
- - RUN dnf -y install yum which initscripts net-tools
+ - RUN dnf -y install yum which initscripts net-tools sudo
+ - RUN sed -i -e "s/Defaults.*requiretty.*/Defaults !requiretty/g" /etc/sudoers
- name: ubuntu-12.04
driver: