forked from sous-chefs/openvpn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
47 lines (44 loc) · 1.04 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
driver:
name: vagrant
provisioner:
name: chef_zero
data_bags_path: "test/fixtures/data_bags"
# currently only support 2 last major revs of distros (at the most)
platforms:
- name: debian-8.6
- name: debian-7.11
- name: ubuntu-16.04
- name: ubuntu-14.04
- name: centos-7.3
- name: centos-6.8
- name: fedora-25
- name: fedora-24
- name: freebsd-11.0
- name: freebsd-10.3
- name: opensuse-leap-42.2
suites:
- name: server
run_list:
- recipe[openvpn::server]
attributes:
openvpn:
config:
verb: 1
mute: 10
route:
- '192.168.4.0 255.255.255.0'
push_routes:
- 192.168.10.0 255.255.255.0
- 10.12.10.0 255.255.255.0
push_options:
dhcp-option:
- 'DOMAIN local'
- 'DOMAIN-SEARCH local'
- name: server_verification
run_list:
- recipe[openvpn::server]
- recipe[openvpn::users]
attributes:
openvpn:
server_verification: "remote-cert-tls server"
includes: ubuntu-16.04