-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml-all
52 lines (49 loc) · 1.25 KB
/
.kitchen.yml-all
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
---
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: centos-6.5
suites:
- name: consul-server
driver:
network:
- ["private_network", {ip: "192.168.33.10"}]
run_list:
- recipe[apt::default]
- recipe[consul::default]
- recipe[consul::ui]
- recipe[consul-template::default]
- recipe[consul-test-helpers::consul-template]
attributes:
consul:
service_mode: server
servers: [ '192.168.33.10' ]
serve_ui: true
bind_interface: 'eth1'
bind_addr: '192.168.33.10'
client_address: '192.168.33.10'
consul_template:
config:
consul: '127.0.0.1:8500'
- name: consul-client
driver:
network:
- ["private_network", {ip: "192.168.33.20"}]
run_list:
- recipe[apt::default]
- recipe[consul::default]
- recipe[consul-template::default]
- recipe[consul-test-helpers::consul-template]
attributes:
consul:
service_mode: client
servers: [ '192.168.33.10' ]
serve_ui: true
bind_interface: 'eth1'
bind_addr: '192.168.33.20'
client_address: '192.168.33.20'
consul_template:
config:
consul: '127.0.0.1:8500'