-
Notifications
You must be signed in to change notification settings - Fork 1
/
.kitchen.yml
117 lines (107 loc) · 2.54 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---
driver:
name: vagrant
provisioner:
product_name: chef
product_version: 15.17.4
platforms:
- name: geerlingguy/ubuntu2004
suites:
- name: nfs
includes:
- geerlingguy/ubuntu2004
driver:
vm_hostname: nfs.yourorg.io
network:
- ["private_network", {ip: "192.168.254.250"}]
#synced_folders:
# - ["/tmp/%{instance_name}", "/tmp/instance_data"]
run_list:
- recipe[apt]
- recipe[cloudbees-cjp-ha::nfs]
attributes:
- name: haproxy00
includes:
- geerlingguy/ubuntu2004
driver:
vm_hostname: haproxy00.yourorg.io
network:
- ["private_network", {ip: "192.168.254.8"}]
run_list:
- recipe[apt]
- recipe[cloudbees-cjp-ha::haproxy]
attributes:
cloudbees-cjp-ha:
haproxy:
keepalived:
priority: "100"
- name: haproxy01
includes:
- geerlingguy/ubuntu2004
driver:
vm_hostname: haproxy01.yourorg.io
network:
- ["private_network", {ip: "192.168.254.9"}]
run_list:
- recipe[apt]
- recipe[cloudbees-cjp-ha::haproxy]
attributes:
cloudbees-cjp-ha:
haproxy:
keepalived:
priority: "99"
- name: opcenter00
includes:
- geerlingguy/ubuntu2004
driver:
vm_hostname: opcenter00.yourorg.io
network:
- ["private_network", {ip: "192.168.254.20"}]
run_list:
- recipe[apt]
- recipe[cloudbees-cjp-ha::opcenter]
attributes:
- name: opcenter01
includes:
- geerlingguy/ubuntu2004
driver:
vm_hostname: opcenter01.yourorg.io
network:
- ["private_network", {ip: "192.168.254.21"}]
run_list:
- recipe[apt]
- recipe[cloudbees-cjp-ha::opcenter]
attributes:
- name: master00
includes:
- geerlingguy/ubuntu2004
driver:
vm_hostname: master00.yourorg.io
network:
- ["private_network", {ip: "192.168.254.30"}]
run_list:
- recipe[apt]
- recipe[cloudbees-cjp-ha::master]
attributes:
- name: master01
includes:
- geerlingguy/ubuntu2004
driver:
vm_hostname: master01.yourorg.io
network:
- ["private_network", {ip: "192.168.254.31"}]
run_list:
- recipe[apt]
- recipe[cloudbees-cjp-ha::master]
attributes:
- name: slave
includes:
- geerlingguy/ubuntu2004
driver:
vm_hostname: slave.yourorg.io
network:
- ["private_network", {ip: "192.168.254.100"}]
run_list:
- recipe[apt]
- recipe[cloudbees-cjp-ha::_openjdk]
attributes: