forked from spheromak/chef-timezone
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.kitchen.docker.yml
102 lines (98 loc) · 2.68 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
---
driver:
name: docker
use_sudo: false
privileged: true
provisioner:
product_name: chef
verifier:
name: inspec
inspec_tests:
- path: test/integration/default
platforms:
- name: ubuntu-14.04-docker
driver_config:
image: ubuntu-upstart:14.04
disable_upstart: false
run_command: '/sbin/init'
- name: ubuntu-16.04-docker
driver_config:
image: ubuntu:16.04
disable_upstart: false
run_command: '/lib/systemd/systemd'
provision_command:
- apt-get install -y dbus
- systemctl set-default multi-user.target
- name: ubuntu-18.04-docker
driver_config:
image: ubuntu:18.04
disable_upstart: false
run_command: '/lib/systemd/systemd'
provision_command:
- apt-get install -y dbus
- systemctl set-default multi-user.target
- name: debian-8-docker
driver_config:
image: debian:8
disable_upstart: false
run_command: '/lib/systemd/systemd'
provision_command:
- apt-get install -y dbus
- systemctl set-default multi-user.target
- name: debian-9-docker
driver_config:
image: debian:9
disable_upstart: false
run_command: '/lib/systemd/systemd'
provision_command:
- apt-get install -y dbus
- systemctl set-default multi-user.target
- name: centos-6-docker
driver_config:
image: centos:6
run_command: '/sbin/init'
- name: centos-7-docker
driver_config:
image: centos:7
run_command: '/lib/systemd/systemd'
provision_command:
- yum install -y dbus
- systemctl set-default multi-user.target
- name: fedora-26-docker
driver_config:
image: fedora:26
run_command: '/lib/systemd/systemd'
provision_command:
- dnf install -y dbus
- systemctl set-default multi-user.target
- name: fedora-27-docker
driver_config:
image: fedora:27
run_command: '/lib/systemd/systemd'
provision_command:
- dnf install -y dbus
- systemctl set-default multi-user.target
- name: opensuse-leap-42-docker
driver_config:
image: opensuse/leap:42.3
run_command: '/bin/systemd'
provision_command:
- zypper install -y dbus-1
- systemctl enable sshd
- name: amazonlinux-2-docker
driver_config:
image: amazonlinux:2
run_command: '/sbin/init'
platform: rhel
provision_command:
# Hack to make chef_installer.sh detect platform correctly.
- echo "Amazon Linux 2" > /etc/system-release
suites:
- name: chef-14
run_list:
- recipe[timezone_test]
- name: chef-13
run_list:
- recipe[timezone_test]
provisioner:
product_version: 13