-
Notifications
You must be signed in to change notification settings - Fork 77
/
Copy path.kitchen.yml
100 lines (97 loc) · 2.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
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
96
97
98
99
100
---
driver:
name: vagrant
provisioner:
name: chef_zero
require_chef_omnibus: 13
platforms:
- name: ubuntu-16.04
- name: ubuntu-14.04
- name: debian-9.2
- name: debian-8.9
- name: centos-7.4
- name: centos-6.9
- name: windows-2012r2
driver:
box: mwrock/Windows2012R2
communicator: winrm
shell_type: powershell
suites:
- name: install_only
run_list:
- recipe[apt::default]
- recipe[consul::default]
- recipe[consul-template::install_binary]
excludes: ['windows-2012r2']
attributes:
apt:
compile_time_update: true
consul:
config:
bootstrap_expect: 1
server: true
- name: default
run_list:
- recipe[apt::default]
- recipe[consul::default]
- recipe[consul-template::default]
- recipe[consul-template-spec::consul_template_config]
excludes: ['debian-8.2', 'centos-7.3', 'windows-2012r2']
attributes:
apt:
compile_time_update: true
consul:
config:
bootstrap_expect: 1
server: true
consul_template:
config:
consul: '127.0.0.1:8500'
- name: runit
run_list:
- recipe[apt::default]
- recipe[consul::default]
- recipe[consul-template::default]
- recipe[consul-template-spec::consul_template_config]
excludes: ['windows-2012r2']
attributes:
apt:
compile_time_update: true
consul:
config:
bootstrap_expect: 1
server: true
consul_template:
init_style: 'runit'
config:
consul: '127.0.0.1:8500'
- name: systemd
run_list:
- recipe[consul::default]
- recipe[consul-template::default]
- recipe[consul-template-spec::consul_template_config]
includes: ['debian-8.2', 'centos-7.3']
attributes:
consul:
init_style: 'systemd'
config:
bootstrap_expect: 1
server: true
consul_template:
init_style: 'systemd'
config:
consul: '127.0.0.1:8500'
- name: windows
run_list:
- recipe[consul::default]
- recipe[consul-template::default]
- recipe[consul-template-spec::consul_template_config_win]
includes: ['windows-2012r2']
attributes:
consul:
config:
bootstrap_expect: 1
server: true
consul_template:
config:
consul: '127.0.0.1:8500'