-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
79 lines (74 loc) · 2.23 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
---
driver:
name: dokken
privileged: true # allows systemd services to start
chef_image: cincproject/cinc
chef_version: <%= ENV.fetch('CHEF_VERSION', 18) %>
provisioner:
name: dokken
product_name: cinc
chef_binary: /opt/cinc/bin/cinc-client
deprecations_as_errors: true
enforce_idempotency: true
multiple_converge: 2
transport:
name: dokken
verifier:
name: inspec
platforms:
# @see https://github.com/chef-cookbooks/testing_examples/blob/main/kitchen.dokken.yml
# @see https://hub.docker.com/u/dokken
- name: debian-11
driver:
image: dokken/debian-11
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get upgrade -y
- name: debian-12
driver:
image: dokken/debian-12
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get upgrade -y
- name: ubuntu-22.04
driver:
image: dokken/ubuntu-22.04
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get upgrade -y
- name: ubuntu-2404
driver:
image: dokken/ubuntu-24.04
pid_one_command: /bin/systemd
intermediate_instructions:
- RUN /usr/bin/apt-get update
- RUN /usr/bin/apt-get upgrade -y
suites:
- name: server
run_list:
- recipe[wireguard::server]
attributes:
wireguard:
server:
address: "10.0.0.1/24"
public_key: "zdx6nLrGZbsmFr8+zWjEVpt+K8NSdhtJejGuD/BBAwo="
private_key: "cKTRrWKWBAbvdgSx7brEAKl+fS9ZADcrzdgVrNRbfWw="
peers:
"10.0.0.2/32": "EbOjsIcZSbaAKXBLs+lEpTwAoRV438snysiggK9QAFc="
"10.0.0.3/32": "YzAx35YiFN4ZrlK9xyvT8UePMz0BCqIx6CrTrwsyI0s="
- name: client
run_list:
- recipe[wireguard::client]
attributes:
wireguard:
server:
address: "10.0.0.1/24"
public_key: "zdx6nLrGZbsmFr8+zWjEVpt+K8NSdhtJejGuD/BBAwo="
client:
public_key: "YzAx35YiFN4ZrlK9xyvT8UePMz0BCqIx6CrTrwsyI0s="
private_key: "6BpqO2LShKXW+8LvjcINlNcoHA28QX9qN7/bHwL+80c="
endpoint: "1.1.1.1:51820"
address: "10.0.0.3/32"