Skip to content
This repository has been archived by the owner on Aug 22, 2018. It is now read-only.

Commit

Permalink
Import rabbitmq version 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Aug 24, 2013
1 parent cb4a43e commit eb0190e
Show file tree
Hide file tree
Showing 31 changed files with 1,718 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cookbooks/rabbitmq/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.vagrant
Berksfile.lock
Gemfile.lock
*~
*#
.#*
\#*#
.*.sw[a-z]
*.un~
.bundle
.cache
.kitchen
bin
.kitchen.local.yml
77 changes: 77 additions & 0 deletions cookbooks/rabbitmq/.kitchen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
driver_plugin: vagrant
driver_config:
require_chef_omnibus: true

platforms:
- name: ubuntu-12.04
driver_config:
box: opscode-ubuntu-12.04
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box
run_list:
- recipe[apt]

- name: ubuntu-10.04
driver_config:
box: opscode-ubuntu-10.04
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-10.04_provisionerless.box
run_list:
- recipe[apt]

- name: centos-6.4
driver_config:
box: opscode-centos-6.4
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box
run_list:
- recipe[yum::epel]

- name: centos-5.9
driver_config:
box: opscode-centos-5.9
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-5.9_provisionerless.box
run_list:
- recipe[yum::epel]

suites:
- name: default
run_list:
- recipe[rabbitmq]
attributes: {}

- name: mgmt_console
run_list:
- recipe[minitest-handler]
- recipe[rabbitmq]
- recipe[rabbitmq_test::mgmt_console
attributes: {}

- name: cook-2151
run_list:
- recipe[minitest-handler]
- recipe[rabbitmq]
- recipe[rabbitmq_test]
- recipe[rabbitmq_test::cook-2151]
attributes:
rabbitmq:
disk_free_limit_relative: 1.0
vm_memory_high_watermark: 0.5

- name: policy-management
run_list:
- recipe[rabbitmq::policy_management]
attributes: {}

- name: plugin-management
run_list:
- recipe[rabbitmq::plugin_management]
attributes:
rabbitmq:
enabled_plugins: ["rabbitmq_stomp", "rabbitmq_shovel"]

- name: user-vhost-management
run_list:
- recipe[rabbitmq::user_management]
attributes:
rabbitmq:
enabled_users: [{name: "kitchen", password: "tester", rights: [{vhost: "kitchen", conf: ".*", write: ".*", read: ".*"}]}]
virtualhosts: ["kitchen"]
10 changes: 10 additions & 0 deletions cookbooks/rabbitmq/Berksfile
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
91 changes: 91 additions & 0 deletions cookbooks/rabbitmq/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
## 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
29 changes: 29 additions & 0 deletions cookbooks/rabbitmq/CONTRIBUTING
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
If you would like to contribute, please open a ticket in JIRA:

* http://tickets.opscode.com

Create the ticket in the COOK project and use the cookbook name as the
component.

For all code contributions, we ask that contributors sign a
contributor license agreement (CLA). Instructions may be found here:

* http://wiki.opscode.com/display/chef/How+to+Contribute

When contributing changes to individual cookbooks, please do not
modify the version number in the metadata.rb. Also please do not
update the CHANGELOG.md for a new version. Not all changes to a
cookbook may be merged and released in the same versions. Opscode will
handle the version updates during the release process. You are welcome
to correct typos or otherwise make updates to documentation in the
README.

If a contribution adds new platforms or platform versions, indicate
such in the body of the commit message(s), and update the relevant
COOK ticket. When writing commit messages, it is helpful for others if
you indicate the COOK ticket. For example:

git commit -m '[COOK-1041] Updated pool resource to correctly delete.'

In the ticket itself, it is also helpful if you include log output of
a successful Chef run, but this is not absolutely required.
Loading

0 comments on commit eb0190e

Please sign in to comment.