-
Notifications
You must be signed in to change notification settings - Fork 0
/
kitchen.yml
57 lines (50 loc) · 1.39 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
---
driver:
name: vagrant
## The forwarded_port port feature lets you connect to ports on the VM guest via
## localhost on the host.
## see also: https://www.vagrantup.com/docs/networking/forwarded_ports
# network:
# - ["forwarded_port", {guest: 80, host: 8080}]
provisioner:
name: chef_zero
## product_name and product_version specifies a specific Chef product and version to install.
## see the Chef documentation for more details: https://docs.chef.io/workstation/config_yml_kitchen/
# product_name: chef
# product_version: 17
verifier:
name: inspec
platforms:
- name: ubuntu-22.04
suites:
- name: default
provisioner:
policyfile: policies/acep-headscale-server.rb
verifier:
inspec_tests:
- test/integration/default
attributes:
headscale:
users_databag: users
port: 8080
server_url: "http://localhost:8080"
enable_ssl: false
magicdns: true
- name: client
provisioner:
policyfile: policies/acep-headscale-client.rb
verifier:
inspec_tests:
- test/integration/client
attributes:
headscale:
login_server: "http://headscale:8080"
- name: client2
provisioner:
policyfile: policies/acep-headscale-client.rb
verifier:
inspec_tests:
- test/integration/client
attributes:
headscale:
login_server: "http://headscale:8080"