Puppet Class: messaging

Defined in:
manifests/messaging.pp

Overview

Copyright (C) 2014 eNovance SAS <licensing@enovance.com>

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.

Class: cloud::messaging

Install Messsaging Server (RabbitMQ)

Parameters:

rabbit_names

(optional) List of RabbitMQ servers. Should be an array. Defaults to $::hostname

rabbit_password

(optional) Password to connect to OpenStack queues. Defaults to 'rabbitpassword'

cluster_node_type

(optional) Store the queues on the disc or in the RAM. Could be set to 'disk' or 'ram'. Defaults to 'disc'

cluster_count

(optional) Queue is mirrored to count nodes in the cluster. If there are less than count nodes in the cluster, the queue is mirrored to all nodes. If there are more than count nodes in the cluster, and a node containing a mirror goes down, then a new mirror will be created on another node. If a value is set, RabbitMQ policy will be 'exactly'. Otherwise, undef will set the policy to 'all' by default. To enable this feature, you need 'haproxy_binding' to true. Defaults to undef

haproxy_binding

(optional) Enable or not HAproxy binding for load-balancing. Defaults to false

rabbitmq_ip

(optional) IP address of RabbitMQ interface. Required when using HAproxy binding. Defaults to $::ipaddress

rabbitmq_port

(optional) Port of RabbitMQ service. Defaults to '5672'

erlang_cookie

(required) Erlang cookie to use. When running a cluster, this value should be the same for all the nodes.

firewall_settings

(optional) Allow to add custom parameters to firewall rules Should be an hash. Default to {}

Parameter Summary