forked from treasure-data/chef-td-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkitchen.yml
96 lines (90 loc) · 3.18 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
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
---
driver:
name: docker
# privileged: true
tty: true
cap_add:
# Required by Inspec
- SYS_PTRACE
run_options:
env:
- container=docker
- TERM=xterm-256color
stop-signal: SIGRTMIN+3
tmpfs:
# - /tmp:exec
- /run
volume:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
transport:
name: docker
provisioner:
name: chef_infra
product_name: cinc
# log_level: :debug
platforms:
- name: amazonlinux-2
driver_config:
image: dokken/amazonlinux-2
run_command: /usr/lib/systemd/systemd
provision_command:
# Replace Systemctl with fake docker one
- curl -fsSL https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/refs/heads/master/files/docker/systemctl.py -o /usr/bin/systemctl
# - name: amazonlinux-2023
# driver_config:
# image: dokken/amazonlinux-2023
# run_command: /usr/lib/systemd/systemd
# provision_command:
# # Replace Systemctl with fake docker one
# - curl -fsSL https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/refs/heads/master/files/docker/systemctl3.py -o /usr/bin/systemctl
# - name: almalinux-9
# driver_config:
# image: dokken/almalinux-9
# run_command: /usr/lib/systemd/systemd
# provision_command:
# # Replace Systemctl with fake docker one
# - curl -fsSL https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/refs/heads/master/files/docker/systemctl3.py -o /usr/bin/systemctl
# - name: debian-12
# driver_config:
# image: dokken/debian-12
# run_command: /usr/lib/systemd/systemd
# provision_command:
# # Replace Systemctl with fake docker one
# - curl -fsSL https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/refs/heads/master/files/docker/systemctl3.py -o /usr/bin/systemctl
# - name: oraclelinux-9
# driver_config:
# image: dokken/oraclelinux-9
# run_command: /usr/lib/systemd/systemd
# provision_command:
# # Replace Systemctl with fake docker one
# - curl -fsSL https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/refs/heads/master/files/docker/systemctl3.py -o /usr/bin/systemctl
# - name: ubuntu-22.04
# driver_config:
# image: dokken/ubuntu-22.04
# run_command: /usr/lib/systemd/systemd
# provision_command:
# # Replace Systemctl with fake docker one
# - curl -fsSL https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/refs/heads/master/files/docker/systemctl3.py -o /usr/bin/systemctl
# - name: ubuntu-24.04
# driver_config:
# image: dokken/ubuntu-24.04
# run_command: /usr/lib/systemd/systemd
# provision_command:
# # Replace Systemctl with fake docker one
# - curl -fsSL https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/refs/heads/master/files/docker/systemctl3.py -o /usr/bin/systemctl
verifier:
name: inspec
inspec_tests:
- test/integration/default
suites:
- name: v4
attributes:
td_agent:
version: 4
verifier:
inputs:
td_agent_version: 4
- name: v5
attributes:
td_agent:
version: 5