-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
76 lines (73 loc) · 1.63 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
---
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: centos-6.5
suites:
- name: cserver
driver:
name: vagrant
vm_hostname: cserver
network:
- ["private_network", {ip: "192.168.33.10"}]
run_list:
- recipe[test_template::server]
attributes:
test_template:
hostip: '192.168.33.10'
consul:
servers: [ '192.168.33.10' ]
- name: lb01
driver:
name: vagrant
vm_hostname: lb01
network:
- ["private_network", {ip: "192.168.33.20"}]
run_list:
- recipe[test_template::tomcat_lb]
attributes:
test_template:
hostip: '192.168.33.20'
consul:
servers: [ '192.168.33.10' ]
- name: lb02
driver:
name: vagrant
vm_hostname: lb02
network:
- ["private_network", {ip: "192.168.33.21"}]
run_list:
- recipe[test_template::tomcat_lb]
attributes:
test_template:
hostip: '192.168.33.21'
consul:
servers: [ '192.168.33.10' ]
- name: api01
driver:
name: vagrant
vm_hostname: api01
network:
- ["private_network", {ip: "192.168.33.30"}]
run_list:
- recipe[test_template::tomcat]
attributes:
test_template:
hostip: '192.168.33.30'
consul:
servers: [ '192.168.33.10' ]
- name: api02
driver:
name: vagrant
vm_hostname: api02
network:
- ["private_network", {ip: "192.168.33.31"}]
run_list:
- recipe[test_template::tomcat]
attributes:
test_template:
hostip: '192.168.33.31'
consul:
servers: [ '192.168.33.10' ]