-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.dokken.yml
103 lines (94 loc) · 2.12 KB
/
.kitchen.dokken.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
103
driver:
name: dokken
privileged: true # because Docker and SystemD/Upstart
chef_version: <%= ENV['CHEF_VERSION'] || 'current' %>
transport:
name: dokken
provisioner:
name: dokken
deprecations_as_errors: true
verifier:
name: inspec
platforms:
- name: amazonlinux
driver:
image: dokken/amazonlinux
pid_one_command: /sbin/init
intermediate_instructions:
- RUN yum -y install cronie
- name: centos-6
driver:
image: centos:6
platform: rhel
pid_one_command: /sbin/init
intermediate_instructions:
- RUN yum -y install lsof which initscripts net-tools wget net-tools cronie
- name: centos-7
driver:
image: centos:7
platform: rhel
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
- RUN yum -y install lsof which systemd-sysv initscripts wget net-tools cronie
- name: debian-7
driver:
image: debian:7
pid_one_command: /sbin/init
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get install lsb-release cron apt-transport-https -y
- name: debian-8
driver:
image: debian:8
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get install lsb-release cron apt-transport-https -y
suites:
- name: apt_repos
run_list:
- recipe[test::apt_repos]
includes: [
'debian-7',
'debian-8'
]
- name: cron
run_list:
- recipe[test::cron]
- name: cron_d
run_list:
- recipe[test::cron_d]
- name: directory
run_list:
- recipe[test::directory]
- name: groups
run_list:
- recipe[test::groups]
- name: users
run_list:
- recipe[test::users]
- name: yum_repos
run_list:
- recipe[test::yum_repos]
includes: [
'amazonlinux',
'centos-6',
'centos-7'
]
- name: iptables_d
run_list:
- recipe[test::iptables_d]
includes: [
'centos-6',
'centos-7'
]
- name: sudoers_d
run_list:
- recipe[test::sudoers_d]
- name: init_d
run_list:
- recipe[test::init_d]
includes: [
'amazonlinux',
'centos-6'
]