forked from rabbitmq/chef-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.docker.yml
58 lines (50 loc) · 1.39 KB
/
.kitchen.docker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
driver:
driver:
name: docker
use_sudo: false
privileged: true
run_command: /usr/sbin/init
chef_version: latest
provisioner:
name: chef_zero
product_name: chef
install_strategy: always
verifier:
root_path: '/opt/verifier'
sudo: false
platforms:
- name: centos-6.9
driver:
image: centos:6.9
platform: rhel
pid_one_command: /sbin/init
privileged: true
hostname: localhost
intermediate_instructions:
- RUN yum -y install which initscripts
- name: centos-7.4
driver:
image: centos:7
platform: rhel
pid_one_command: /usr/lib/systemd/systemd
privileged: true
provision_command:
- sed -i 's/UsePAM yes/UsePAM no/g' /etc/ssh/sshd_config
- systemctl enable sshd.service
intermediate_instructions:
- RUN yum -y install lsof which systemd-sysv initscripts openssl net-tools
- name: ubuntu-16.04
driver:
image: ubuntu:16.04
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get -y install lsb-release procps net-tools
- name: debian-9
driver:
image: debian:9
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get -y install lsb-release procps net-tools
# use (inherit) suites defined in main .kitchen.yml