-
Notifications
You must be signed in to change notification settings - Fork 6
/
.kitchen.yml
224 lines (214 loc) · 5.45 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
---
driver_plugin: vagrant
driver_config:
customize:
cpus: 2
memory: 512
ssh:
insert_key: false
provisioner:
name: chef_zero
always_update_cookbooks: true
require_chef_omnibus: 12.16.42
log_level: info
log_file: /var/log/chef-solo.log
platforms:
- name: centos-6.8
run_list: ['recipe[fake::create_secrets]','recipe[yum-epel]']
driver_config:
box: bento/centos-6.8
- name: centos-7.2
run_list: ['recipe[fake::create_secrets]','recipe[yum-epel]']
driver_config:
box: bento/centos-7.2
#- name: rhel-6.5
# run_list: ['recipe[yum-epel]', 'recipe[rhsm]']
# attributes:
# rhsm:
# username: <%= ENV['RHSM_USERNAME'] %>
# password: <%= ENV['RHSM_PASSWORD'] %>
# compile_time: true
# additional_repos: ['rhel-6-server-optional-rpms']
# driver_config:
# box: local-rhel-6.5
# box_url: file://<%= File.expand_path('~') %>/opscode_rhel-6.5_chef-provisionerless.box
- name: ubuntu-12.04
run_list: ['recipe[fake::create_secrets]','recipe[apt]']
driver_config:
box: bento/ubuntu-12.04
- name: ubuntu-14.04
run_list: ['recipe[fake::create_secrets]','recipe[apt]']
driver_config:
box: bento/ubuntu-14.04
suites:
- name: default
run_list:
- recipe[rs-mysql::default]
- recipe[rs-mysql::collectd]
- recipe[fake::database_mysql]
attributes:
apt:
compile_time_update: true
cloud:
provider: 'vagrant'
public_ips: ['100.64.1.1']
private_ips: ['10.0.2.15']
rs-base:
collectd_server: 'tss-4.rightscale.com'
rs-mysql:
backup:
lineage: 'lineage'
mysql:
version: '5.5'
server_root_password: rootpass
server_repl_password: realpass
server_usage: dedicated
application_username: appuser
application_password: apppass
application_database_name: app_test
rightscale:
instance_uuid: '1111111'
- name: default-56
run_list:
- recipe[rs-mysql::default]
- recipe[rs-mysql::collectd]
- recipe[fake::database_mysql]
attributes:
apt:
compile_time_update: true
cloud:
provider: 'vagrant'
public_ips: ['100.64.1.1']
private_ips: ['10.0.2.15']
rs-base:
collectd_server: 'tss-4.rightscale.com'
rs-mysql:
backup:
lineage: 'lineage'
mysql:
version: '5.6'
server_root_password: rootpass
server_repl_password: realpass
server_usage: dedicated
application_username: appuser
application_password: apppass
application_database_name: app_test
rightscale:
instance_uuid: '1111111'
- name: default-57
run_list:
- recipe[rs-mysql::default]
- recipe[rs-mysql::collectd]
- recipe[fake::database_mysql]
attributes:
apt:
compile_time_update: true
cloud:
provider: 'vagrant'
public_ips: ['100.64.1.1']
private_ips: ['10.0.2.15']
rs-base:
collectd_server: 'tss-4.rightscale.com'
rs-mysql:
backup:
lineage: 'lineage'
mysql:
version: '5.7'
server_root_password: rootpass
server_repl_password: realpass
server_usage: dedicated
application_username: appuser
application_password: apppass
application_database_name: app_test
rightscale:
instance_uuid: '1111111'
- name: empty_public_ips
run_list:
- recipe[rs-mysql::default]
- recipe[rs-mysql::collectd]
- recipe[fake::database_mysql]
attributes:
apt:
compile_time_update: true
cloud:
provider: 'vagrant'
public_ips: ['']
private_ips: ['10.0.2.15']
rs-base:
collectd_server: 'tss-4.rightscale.com'
rs-mysql:
backup:
lineage: 'lineage'
server_root_password: rootpass
server_repl_password: realpass
server_usage: dedicated
application_username: appuser
application_password: apppass
application_database_name: app_test
import:
repository: https://github.com/rightscale/examples.git
revision: unified_php
rightscale:
instance_uuid: '1111111'
- name: shared_server
run_list:
- recipe[rs-mysql::default]
- recipe[fake::database_mysql]
attributes:
apt:
compile_time_update: true
cloud:
provider: 'vagrant'
public_ips: ['100.64.1.1']
private_ips: ['10.0.2.15']
rs-base:
collectd_server: 'tss-4.rightscale.com'
rs-mysql:
backup:
lineage: 'lineage'
server_root_password: rootpass
server_repl_password: replpass
server_usage: shared
application_database_name: app_test
- name: master
run_list:
- recipe[rs-mysql::master]
attributes:
apt:
compile_time_update: true
cloud:
provider: 'vagrant'
public_ips: ['100.64.1.1']
private_ips: ['10.0.2.15']
rs-base:
collectd_server: 'tss-4.rightscale.com'
rs-mysql:
backup:
lineage: 'lineage'
server_root_password: rootpass
server_repl_password: replpass
server_usage: dedicated
rightscale:
instance_uuid: '1111111'
- name: slave
run_list:
- recipe[fake::master]
- recipe[rs-mysql::slave]
attributes:
apt:
compile_time_update: true
cloud:
provider: 'vagrant'
public_ips: ['100.64.2.2']
private_ips: ['10.0.2.15']
rs-base:
collectd_server: 'tss-4.rightscale.com'
rs-mysql:
backup:
lineage: 'lineage'
server_root_password: rootpass
server_repl_password: replpass
server_usage: dedicated
slave_functional_timeout: -1
rightscale:
instance_uuid: '2222222'