RETIRED, Chef Cookbook - Support Cookbook for Messaging
Go to file
Andy McCrae fbcfd04ff3 Move to use "get_password" instead of "{user,service,db}_password"
The user_password, service_password and db_password functions are redundant
since they simply call "secret". Creates a get_password function that will
accept a "type" of db, service or user.

All instances of these calls have been changed to call get_password

Change-Id: Ic73c99034638ec092192d11e37671edbba0e48ef
Partial-Bug: #1195915
2014-01-15 18:46:56 +00:00
attributes Ensure the node[openstack][mq] attributes push to the services that use rabbitmq 2013-11-18 18:04:31 -06:00
recipes Move to use "get_password" instead of "{user,service,db}_password" 2014-01-15 18:46:56 +00:00
spec Move to use "get_password" instead of "{user,service,db}_password" 2014-01-15 18:46:56 +00:00
.gitignore Updating with patterns used in ops-database 2013-06-27 17:00:06 -07:00
.gitreview Initial commit of openstack-ops-messaging cookbook 2013-06-18 19:36:08 -04:00
.tailor Updating with patterns used in ops-database 2013-06-27 17:00:06 -07:00
Berksfile Initial commit of openstack-ops-messaging cookbook 2013-06-18 19:36:08 -04:00
Berksfile.lock upgrade to Havana 2013-12-12 09:34:38 +01:00
CHANGELOG.md make AMQP support when develop_mode=false 2013-12-24 08:46:12 +00:00
Gemfile Initial rubocop support. 2013-12-23 15:24:15 -06:00
Gemfile.lock Initial rubocop support. 2013-12-23 15:24:15 -06:00
LICENSE first commit 2013-05-06 16:45:32 -05:00
README.md make AMQP support when develop_mode=false 2013-12-24 08:46:12 +00:00
Strainerfile Initial rubocop support. 2013-12-23 15:24:15 -06:00
metadata.rb make AMQP support when develop_mode=false 2013-12-24 08:46:12 +00:00

README.md

Description

This cookbook provides shared message queue configuration for the OpenStack Havana reference deployment provided by Chef for OpenStack. The http://github.com/mattray/chef-openstack-repo contains documentation for using this cookbook in the context of a full OpenStack deployment. It currently supports RabbitMQ and will soon other queues.

Requirements

Chef 11 with Ruby 1.9.x required.

Platforms

  • Ubuntu-12.04

Cookbooks

The following cookbooks are dependencies:

  • openstack-common
  • rabbitmq

Usage

The usage of this cookbook is optional, you may choose to set up your own messaging service without using this cookbook. If you choose to do so, you will need to provide all of the attributes listed under the Attributes.

Resources/Providers

None

Templates

None

Recipes

server

  • message queue server configuration, selected by attributes

rabbitmq-server

  • configures the RabbitMQ server for OpenStack

Attributes

  • openstack["mq"]["bind_interface"] - bind to interfaces IPv4 address
  • openstack["mq"]["cluster"] - whether or not to cluster rabbit, defaults to 'false'

Testing

This cookbook uses bundler, berkshelf, and strainer to isolate dependencies and run tests.

Tests are defined in Strainerfile.

To run tests:

$ bundle install # install gem dependencies
$ bundle exec berks install # install cookbook dependencies
$ bundle exec strainer test # run tests

License and Author

Author John Dewey (john@dewey.ws)
Author Matt Ray (matt@opscode.com)
Author Craig Tracey (craigtracey@gmail.com)
Author Ionut Artarisi (iartarisi@suse.cz)
Author JieHua Jin (jinjhua@cn.ibm.com)
Copyright Copyright (c) 2013, Opscode, Inc.
Copyright Copyright (c) 2013, Craig Tracey
Copyright Copyright (c) 2013, AT&T Services, Inc.
Copyright Copyright (c) 2013, SUSE Linux GmbH.
Copyright Copyright (c) 2013, IBM Corp.

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

http://www.apache.org/licenses/LICENSE-2.0

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.