-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
45 changed files
with
2,676 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
*~ | ||
*# | ||
.#* | ||
\#*# | ||
.*.sw[a-z] | ||
*.un~ | ||
*.tmp | ||
*.bk | ||
*.bkup | ||
.kitchen.local.yml | ||
Berksfile.lock | ||
Gemfile.lock | ||
|
||
.bundle/ | ||
.cache/ | ||
.kitchen/ | ||
.vagrant/ | ||
.vagrant.d/ | ||
bin/ | ||
tmp/ | ||
vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
site :opscode | ||
|
||
metadata | ||
|
||
group :integration do | ||
cookbook "minitest-handler" | ||
cookbook "apt" | ||
cookbook "yum" | ||
cookbook "rabbitmq_test", :path => "./test/cookbooks/rabbitmq_test" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
rabbitmq Cookbook CHANGELOG | ||
=========================== | ||
This file is used to list changes made in each version of the rabbitmq cookbook. | ||
|
||
|
||
v2.3.2 | ||
------ | ||
### Bug | ||
- **[COOK-3678](https://tickets.opscode.com/browse/COOK-3678)** - Fix an issue where a RabbitMQ policy resource with vhost arguments emits unexpected restart notification | ||
- **[COOK-3606](https://tickets.opscode.com/browse/COOK-3606)** - Fix erlang cookie comparison | ||
- **[COOK-3512](https://tickets.opscode.com/browse/COOK-3512)** - Define rabbitmq service on SUSE | ||
|
||
### New Feature | ||
- **[COOK-3538](https://tickets.opscode.com/browse/COOK-3538)** - Configure web management console to use SSL | ||
|
||
|
||
v2.3.0 | ||
------ | ||
### Improvement | ||
- **[COOK-3369](https://tickets.opscode.com/browse/COOK-3369)** - Add SUSE support | ||
- **[COOK-3320](https://tickets.opscode.com/browse/COOK-3320)** - Configure bind and cluster over a specified addr | ||
- **[COOK-3138](https://tickets.opscode.com/browse/COOK-3138)** - Do not log RabbitMQ password | ||
- **[COOK-2803](https://tickets.opscode.com/browse/COOK-2803)** - Bind erlang networking to localhost (attribute-driven) | ||
|
||
v2.2.0 | ||
------ | ||
### Improvement | ||
- Greatly expanded Test Kitchen coverage and platform support | ||
- added support for disabling policies and virtualhosts through attributes | ||
- added support for using with the erlang::esl recipe | ||
- [COOK-2705]: Add ability to change tcp_listen_options in config | ||
- [COOK-2397]: Added upstart support to rabbitmq cookbook | ||
- [COOK-2830]: Use a notify for server restart, instead of defining a new service | ||
- [COOK-3384]: Added ability to change user password | ||
- [COOK-3489]: Add attribute to set open file limit | ||
|
||
### Bug | ||
- [COOK-3011]: Incorrect apt source test causes Chef run to fail on Ubuntu | ||
- [COOK-3438]: RabbitMQ fixes for Fedora 19 | ||
|
||
v2.1.2 | ||
------ | ||
### Improvement | ||
- [COOK-3099]: policy resource should support optional vhost argument | ||
|
||
### Bug | ||
|
||
- [COOK-3078]: rabbitmq password is not quoted or escaped on add_user | ||
- [COOK-3079]: rabbitmq permissions check doesn't match, resulting in non-idempotency | ||
|
||
v2.1.0 | ||
------ | ||
### Bug | ||
- [COOK-2828]: Rabbitmq Clustering doesn't work properly | ||
- [COOK-2975]: rabbitmq has foodcritic failures | ||
|
||
### New Feature | ||
- [COOK-2575]: LWRP for setting policies | ||
|
||
v2.0.0 | ||
------ | ||
- Major v2.0 changes are documented in the README. | ||
- [COOK-2391] - Added support for verify verify_peer and fail_if_no_peer_cert true | ||
- [COOK-2153] - Fix of user LWRP | ||
- [COOK-2180] - Plugin management via node attributes | ||
- [COOK-2201] - Use the proper syntax when using rabbitmq 3.0 instead of 2.x | ||
- [COOK-2210] - User management via node attributes | ||
- [COOK-2211] - Virtualhost management via node attributes | ||
- [COOK-2235] - RabbitMQ bin path isn't necessarily part of PATH for the plugin provider | ||
- [COOK-2392] - correctly configure a rabbitmq cluster | ||
- [COOK-2366] - Default recipe doesn't create mnesia dir | ||
- [COOK-2416] - Add support for clearing tags. | ||
|
||
v1.8.0 | ||
------ | ||
- [COOK-2151] - Add config options for `disk_free_limit` and `vm_memory_high_watermark` via attributes | ||
|
||
v1.7.0 | ||
------ | ||
- [COOK-1850] - oracle linux support | ||
- [COOK-1873] - add `set_user_tag` action to `rabbitmq_user` LWRP | ||
- [COOK-1878] - :immediately action causes clustering to fail | ||
- [COOK-1888] - smartos support | ||
|
||
v1.6.4 | ||
------ | ||
- [COOK-1684] - Unify behavior of debian and rhel clones in the rabbitmq cookbook | ||
- [COOK-1724] - enable using the distro release of rabbitmq instead of the RabbitMQ.org version | ||
|
||
v1.6.2 | ||
------ | ||
- [COOK-1552] - removed rogue single quote from rabbitmq ssl configuration | ||
|
||
v1.6.0 | ||
------ | ||
- [COOK-1496] - explicitly include the apt recipe | ||
- [COOK-1501] - Allow user to enable yum-based installation of rabbitmq via an attribute | ||
- [COOK-1503] - Recipe to enable rabbitmq web management console | ||
|
||
v1.5.0 | ||
------ | ||
This version requires apt cookbook v1.4.4 (reflected in metadata). | ||
|
||
- [COOK-1216] - add amazon linux to RHELish platforms | ||
- [COOK-1217] - specify version, for RHELish platforms | ||
- [COOK-1219] - immediately restart service on config update | ||
- [COOK-1317] - fix installation of old version from ubuntu APT repo | ||
- [COOK-1331] - LWRP for enabling/disabling rabbitmq plugins | ||
- [COOK-1386] - increment rabbitmq version to 2.8.4 | ||
- [COOK-1432] - resolve foodcritic warnings | ||
- [COOK-1438] - add fedora to RHELish platforms | ||
|
||
v1.4.1 | ||
------ | ||
- [COOK-1386] - Bumped version to 2.8.4 | ||
- rabbitmq::default now includes erlang::default | ||
|
||
v1.4.0 | ||
------ | ||
- [COOK-911] - Auto clustering support | ||
|
||
v1.3.2 | ||
------ | ||
- [COOK-585] - manage rabbitmq-server service |
Oops, something went wrong.