forked from rabbitmq/chef-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
192 lines (174 loc) · 5.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
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
---
driver_plugin: vagrant
driver_config:
require_chef_omnibus: true
platforms:
- name: ubuntu-10.04
driver_config:
box: opscode-ubuntu-10.04
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-10.04_provisionerless.box
run_list:
- recipe[apt]
- name: ubuntu-12.04
driver_config:
box: opscode-ubuntu-12.04
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box
run_list:
- recipe[apt]
- name: ubuntu-13.04
driver_config:
box: opscode-ubuntu-13.04
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-13.04_provisionerless.box
run_list:
- recipe[apt]
- name: centos-5.9
driver_config:
box: opscode-centos-5.9
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_centos-5.9_provisionerless.box
run_list:
- recipe[yum::epel]
- name: centos-6.4
driver_config:
box: opscode-centos-6.4
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box
run_list:
- recipe[yum::epel]
- name: fedora-18
driver_config:
box: opscode-fedora-18
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode-fedora-18_provisionerless.box
run_list: {}
# add once the bento image is fixed
# - name: debian-7.1
# driver_config:
# box: opscode-debian-7.1
# box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_debian-7.1.0_provisionerless.box
# run_list:
# - recipe[apt]
# image not downloading
# - name: smartos-13.1
# driver_config:
# box: smartos-base1310
# box_url: http://dlc-int.openindiana.org/aszeszo/vagrant/smartos-base1310-64-virtualbox-20130806.box
# run_list:
# - recipe[rabbitmq]
# http://tickets.opscode.com/browse/COOK-2467
# - name: omnios-r151002
# driver_config:
# box: omnios-r151002
# box_url: http://omnios.omniti.com/media/omnios-latest.box
# run_list:
# - recipe[rabbitmq]
suites:
- name: default
excludes:
- omnios-r151002
- smartos-13.1
run_list:
- recipe[minitest-handler]
- recipe[rabbitmq_test::default]
attributes: {}
- name: default-esl
excludes:
- centos-5.9
- fedora-18
- omnios-r151002
- smartos-13.1
run_list:
- recipe[minitest-handler]
- recipe[rabbitmq_test::default]
attributes:
erlang:
install_method: 'esl'
- name: upstart
excludes:
- centos-5.9
- centos-6.4
- fedora-18
- ubuntu-13.04
- omnios-r151002
- smartos-13.1
run_list:
- recipe[minitest-handler]
- recipe[rabbitmq_test::default]
attributes:
rabbitmq:
job_control: 'upstart'
- name: distro-version
excludes:
- centos-5.9
- fedora-18
- ubuntu-10.04
run_list:
- recipe[minitest-handler]
- recipe[rabbitmq_test::default]
attributes:
rabbitmq:
use_distro_version: true
- name: mgmt_console
run_list:
- recipe[minitest-handler]
- recipe[rabbitmq_test::mgmt_console]
attributes: {}
- name: cook-2151-3489
run_list:
- recipe[minitest-handler]
- recipe[rabbitmq_test::cook-2151-3489]
attributes:
rabbitmq:
disk_free_limit_relative: 1.0
vm_memory_high_watermark: 0.5
max_file_descriptors: 2048
open_file_limit: 102400
- name: cook-2705
run_list:
- recipe[minitest-handler]
- recipe[rabbitmq_test::default]
attributes:
rabbitmq:
tcp_listen_keepalive: true
# stress test for lwrps
- name: lwrps-default
run_list:
- recipe[minitest-handler]
- recipe[rabbitmq_test::lwrps]
attributes:
rabbitmq:
enabled_plugins: ["rabbitmq_stomp", "rabbitmq_shovel", "rabbitmq_stomp"]
disabled_plugins: ["nonexistant_plugin", "rabbitmq_shovel"]
enabled_users: [
{name: "kitchen1", password: "test", tag: "tag1", rights: [{vhost: "kitchen", conf: ".*", write: ".*", read: ".*"}]},
{name: "kitchen2", password: "test", tag: "tag2", rights: [{vhost: "kitchen", conf: ".*", write: ".*", read: ".*"}, {vhost: "kitchen", conf: ".*", write: ".*", read: ".*"}]},
{name: "kitchen3", password: "test", tag: "tag3", rights: [{vhost: "kitchen", conf: ".*", write: ".*", read: ".*"}]},
{name: "kitchen1", password: "test", tag: "tag4", rights: [{vhost: "kitchen", conf: ".*", write: ".*", read: ".*"}]}
]
disabled_users: ["nonexistant_user", "kitchen2"]
disabled_policies: ["nonexistant_policy"]
virtualhosts: ["kitchen", "kitchen"]
disabled_virtualhosts: ["nonexistant_vhost"]
# stress test for lwrps with distro packages
- name: lwrps-distro
excludes:
- centos-5.9
- centos-6.4
- fedora-18
- ubuntu-10.04
- ubuntu-12.04
run_list:
- recipe[minitest-handler]
- recipe[rabbitmq_test::lwrps]
attributes:
rabbitmq:
use_distro_version: true
enabled_plugins: ["rabbitmq_stomp", "rabbitmq_shovel", "rabbitmq_stomp"]
disabled_plugins: ["nonexistant_plugin", "rabbitmq_shovel"]
enabled_users: [
{name: "kitchen1", password: "test", tag: "tag1", rights: [{vhost: "kitchen", conf: ".*", write: ".*", read: ".*"}]},
{name: "kitchen2", password: "test", tag: "tag2", rights: [{vhost: "kitchen", conf: ".*", write: ".*", read: ".*"}, {vhost: "kitchen", conf: ".*", write: ".*", read: ".*"}]},
{name: "kitchen3", password: "test", tag: "tag3", rights: [{vhost: "kitchen", conf: ".*", write: ".*", read: ".*"}]},
{name: "kitchen1", password: "test", tag: "tag4", rights: [{vhost: "kitchen", conf: ".*", write: ".*", read: ".*"}]}
]
disabled_users: ["nonexistant_user", "kitchen2"]
disabled_policies: ["nonexistant_policy"]
virtualhosts: ["kitchen", "kitchen"]
disabled_virtualhosts: ["nonexistant_vhost"]