Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms


rabbitmq (90) Versions 1.6.0

Installs and configures RabbitMQ server

cookbook 'rabbitmq', '= 1.6.0'
cookbook 'rabbitmq', '= 1.6.0', :supermarket
knife supermarket install rabbitmq
knife supermarket download rabbitmq
Quality -%


This is a cookbook for managing RabbitMQ with Chef. It uses the default settings, but can also be configured via attributes.



Installs rabbitmq-server from's APT repository or the RPM directly (there is no yum repo). The distribution-provided versions were quite old and newer features were needed.

Cluster recipe is now combined with default. Recipe will now auto-cluster. Set the :cluster attribute to true, :cluster_disk_nodes array of node@host strings that describe which you want to be disk nodes and then set an alphanumeric string for the :erlang_cookie.

To enable SSL turn :ssl to true and set the paths to your cacert, cert and key files.


There are 3 LWRPs for interacting with RabbitMQ.


Adds and deletes users, fairly simplistic permissions management.

  • :add adds a user with a password
  • :delete deletes a user
  • :set_permissions sets the permissions for a user, vhost is optional
  • :clear_permissions clears the permissions for a user


rabbitmq_user "guest" do
  action :delete

rabbitmq_user "nova" do
  password "sekret"
  action :add

rabbitmq_user "nova" do
  vhost "/nova"
  permissions "\".*\" \".*\" \".*\""
  action :set_permissions


Adds and deletes vhosts.

  • :add adds a vhost
  • :delete deletes a vhost


rabbitmq_vhost "/nova" do
  action :add


Enables or disables a rabbitmq plugin.

  • :enable enables a plugin
  • :disable disables a plugin


rabbitmq_plugin "rabbitmq_stomp" do
  action :enable

rabbitmq_plugin "rabbitmq_shovel" do
  action :disable


For an already running cluster, these actions still require manual intervention: - changing the :erlang_cookie - turning :cluster from true to false

The rabbitmq::chef recipe was only used for the chef-server cookbook and has been moved to chef-server::rabbitmq.

License and Author

Author:: Benjamin Black Author:: Daniel DeLeo Author:: Matt Ray

Copyright:: 2009-2012 Opscode, Inc

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependent cookbooks

erlang >= 0.9
yum >= 0.5.0
apt >= 1.4.4

Contingent cookbooks

abiquo Applicable Versions
gitorious Applicable Versions
letsencrypt-boulder-server Applicable Versions
logstash Applicable Versions
openstack-ops-messaging Applicable Versions
phpstack Applicable Versions
pythonstack Applicable Versions
rabbitmq-cluster Applicable Versions
rabbitmq-management Applicable Versions
rabbitmq_settings Applicable Versions
sensu Applicable Versions
stack_commons Applicable Versions
stackstorm Applicable Versions
storj Applicable Versions
zenoss Applicable Versions

No quality metric results found