@@ -16,7 +16,7 @@ platforms:
16
16
privileged : true
17
17
provision_command :
18
18
- apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:ansible/ansible
19
- - apt-get update && apt-get -y -q install ansible python-apt python-pycurl ruby
19
+ - apt-get update && apt-get -y -q install ansible python-apt python-pycurl
20
20
use_sudo : false
21
21
- name : debian-7
22
22
driver_config :
@@ -25,17 +25,17 @@ platforms:
25
25
provision_command :
26
26
- echo 'deb http://http.debian.net/debian/ wheezy-backports main' >> /etc/apt/sources.list
27
27
- apt-get update
28
- - apt-get install -y -q ansible ruby
28
+ - apt-get install -y -q ansible
29
29
use_sudo : false
30
30
- name : debian-8
31
31
driver_config :
32
32
image : electrical/debian:8
33
33
privileged : true
34
- provision_command : apt-get -y -q install ansible ruby
34
+ provision_command : apt-get -y -q install ansible
35
35
use_sudo : false
36
36
- name : centos-6
37
37
driver_config :
38
- image : electrical/centos:6.4
38
+ image : electrical/centos:6.4-1
39
39
privileged : true
40
40
use_sudo : false
41
41
- name : centos-7
@@ -44,16 +44,15 @@ platforms:
44
44
provision_command :
45
45
- sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
46
46
- sed -ri 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config
47
- - yum -y install initscripts ruby
48
- - BUSSER_ROOT="/tmp/verifier" GEM_HOME="/tmp/verifier/gems" GEM_PATH="/tmp/verifier/gems" GEM_CACHE="/tmp/verifier/gems/cache" gem install --no-rdoc --no-ri rake
49
- - chown kitchen:kitchen /tmp/verifier -R
47
+ - sed -ri 's/^#?UsePAM .*/UsePAM no/' /etc/ssh/sshd_config
48
+ - yum -y install initscripts
49
+ # - BUSSER_ROOT="/tmp/verifier" GEM_HOME="/tmp/verifier/gems" GEM_PATH="/tmp/verifier/gems" GEM_CACHE="/tmp/verifier/gems/cache" gem install --no-rdoc --no-ri rake
50
+ # - chown kitchen:kitchen /tmp/verifier -R
50
51
- yum clean all
52
+ run_command : " /usr/sbin/init"
51
53
privileged : true
52
54
use_sudo : false
53
55
54
- verifier :
55
- ruby_bindir : ' /usr/bin'
56
-
57
56
suites :
58
57
- name : standard
59
58
provisioner :
0 commit comments