RETIRED, Chef Cookbook - Support Cookbook for Messaging
Go to file
John Dewey 4b9493680f Initial add of messaging wrapper cookbook
We are getting to a point where we will need this.  This is a first
round attempt at putting together a rabbit cookbook.  It enables
clustering rabbit by default, since this is our (AT&T) current reference
arch.  It uses data bags for encrypted secrets much like the existing
stackforge cookbooks do.  Also, upgraded to new Berkshelf which handles
locking to cookbooks properly.

Change-Id: I0edfc996df413c6e41a31d53f964d7f5fc9e0aeb
2013-06-25 18:01:38 -07:00
attributes Initial add of messaging wrapper cookbook 2013-06-25 18:01:38 -07:00
recipes Initial add of messaging wrapper cookbook 2013-06-25 18:01:38 -07:00
spec Initial add of messaging wrapper cookbook 2013-06-25 18:01:38 -07:00
.gitignore Initial add of messaging wrapper cookbook 2013-06-25 18:01:38 -07:00
.gitreview Initial add of messaging wrapper cookbook 2013-06-25 18:01:38 -07:00
.tailor Initial add of messaging wrapper cookbook 2013-06-25 18:01:38 -07:00
Berksfile Initial add of messaging wrapper cookbook 2013-06-25 18:01:38 -07:00
Berksfile.lock Initial add of messaging wrapper cookbook 2013-06-25 18:01:38 -07:00
CHANGELOG.md first commit 2013-05-06 16:45:32 -05:00
Gemfile Initial add of messaging wrapper cookbook 2013-06-25 18:01:38 -07:00
Gemfile.lock Initial add of messaging wrapper cookbook 2013-06-25 18:01:38 -07:00
LICENSE first commit 2013-05-06 16:45:32 -05:00
metadata.rb Initial add of messaging wrapper cookbook 2013-06-25 18:01:38 -07:00
README.md Initial add of messaging wrapper cookbook 2013-06-25 18:01:38 -07:00
Strainerfile Initial add of messaging wrapper cookbook 2013-06-25 18:01:38 -07:00

Description

This cookbook provides shared messaging configuration for the OpenStack Grizzly 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 may eventually support other messaging technologies such as ActiveMQ or ZeroMQ.

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

default

  • configures the messaging service selected by attributes

Attributes

Attributes

  • openstack["mq"]["server_role"] - which role should other nodes search on to find the messaging service, defaults to 'os-ops-messaging'
  • openstack["mq"]["service_type"] - which service to use, defaults to 'rabbit'
  • openstack["mq"]["bind_interface"] - bind to interfaces IPv4 address

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 Matt Ray (matt@opscode.com)
Author John Dewey (jdewey@att.com)
Copyright Copyright (c) 2012-2013, Opscode, Inc.
Copyright Copyright (c) 2013, AT&T Services, 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

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.