forked from ist-dsi/consul-template-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
54 lines (49 loc) · 1.16 KB
/
.kitchen.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
driver:
name: dokken
privileged: true # because Docker and SystemD/Upstart
chef_version: current
transport:
name: dokken
provisioner:
name: dokken
client_rb:
chef_license: "accept-silent"
platforms:
- name: centos
driver:
image: dokken/centos-7
privileged: true
pid_one_command: /usr/lib/systemd/systemd
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro # required by systemd
- name: debian
driver:
image: dokken/debian-10
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- name: ubuntu
driver:
image: dokken/ubuntu-20.04
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
verifier:
name: inspec
suites:
- name: default
attributes:
consul:
config:
bootstrap_expect: 1
server: true
consul_template:
config:
consul: '127.0.0.1:8500'
run_list:
- recipe[consul::default]
- recipe[consul-template-cookbook::default]
- recipe[test::default]
verifier:
inspec_tests:
- test/integration/default/inspec