RETIRED, Chef Cookbook - Support Cookbook for Messaging
Go to file
Christoph Albers 5b66a832b9 overriding attributes should be the next logical presedence
- using normal to override the attribute will still give the
  chance to override it.
- bugfix version bumped

Change-Id: I24210a953871f37b380eceb297597a6f6629d7af
(cherry picked from commit afc19bd6ce)
2019-04-04 13:31:57 +02:00
.delivery Add delivery config 2018-04-11 22:38:20 -07:00
attributes overriding attributes should be the next logical presedence 2019-04-04 13:31:57 +02:00
recipes Allow to disable the rabbitmq management plugin 2019-03-12 17:41:47 +00:00
spec starting queens development patch and use git.openstack.org 2018-03-06 09:50:37 -08:00
.gitignore Initial kilo updates 2015-02-27 14:20:48 -06:00
.gitreview stable/queens release patch 2018-07-26 20:55:40 -07:00
.rubocop.yml Initial ops-messaging Pike updates 2017-08-25 10:08:10 -04:00
.zuul.yaml Migrate Zuul jobs to openstack/openstack-chef 2018-08-31 23:25:20 -07:00
Berksfile stable/queens release patch 2018-07-26 20:55:40 -07:00
bootstrap.sh stable/queens release patch 2018-07-26 20:55:40 -07:00
CONTRIBUTING.md Workflow documentation is now in infra-manual 2014-12-05 03:30:44 +00:00
LICENSE ops-messaging refactor for Pike and Chef 13 2017-11-28 17:00:50 +00:00
metadata.rb overriding attributes should be the next logical presedence 2019-04-04 13:31:57 +02:00
Rakefile ops-messaging refactor for Pike and Chef 13 2017-11-28 17:00:50 +00:00
README.md add new Chef OpenStack Team Logo to README 2017-05-29 12:07:52 +02:00
TESTING.md Sync stackforge/cookbook* to openstack/cookbook* for ops-messaging cookbook 2015-06-16 11:49:19 +08:00

Team and repository tags

Team and repository tags

Chef OpenStack Logo

Description

This cookbook provides shared message queue configuration for the OpenStack deployment provided by Chef for OpenStack. The OpenStack chef-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 12 with Ruby 2.1.x required.

Platforms

  • Ubuntu-14.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"]["cluster"] - whether or not to cluster rabbit, defaults to 'false'

The following attributes are defined in attributes/messaging.rb of the common cookbook, but are documented here due to their relevance:

  • openstack["endpoints"]["mq"]["host"] - The IP address to bind the rabbit service to
  • openstack["endpoints"]["mq"]["scheme"] - Unused at this time
  • openstack["endpoints"]["mq"]["port"] - The port to bind the rabbit service to
  • openstack["endpoints"]["mq"]["path"] - Unused at this time
  • openstack["endpoints"]["mq"]["bind_interface"] - The interface name to bind the rabbit service to
  • openstack["mq"]["rabbitmq"]["use_ssl"] - Enables/disables SSL for RabbitMQ, the default is false.

If the value of the "bind_interface" attribute is non-nil, then the rabbit service will be bound to the first IP address on that interface. If the value of the "bind_interface" attribute is nil, then the rabbit service will be bound to the IP address specified in the host attribute.

Testing

Please refer to the TESTING.md for instructions for testing the cookbook.

Berkshelf

Berks will resolve version requirements and dependencies on first run and store these in Berksfile.lock. If new cookbooks become available you can run berks update to update the references in Berksfile.lock. Berksfile.lock will be included in stable branches to provide a known good set of dependencies. Berksfile.lock will not be included in development branches to encourage development against the latest cookbooks.

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)
Author Mark Vanderwiel (vanderwl@us.ibm.com)
Author Jan Klare (j.klare@x-ion.de)
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-2014, 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.