aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/rabbitmq.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-10-03 09:50:16 +0000
committerGerrit Code Review <review@openstack.org>2016-10-03 09:50:16 +0000
commit34e10af468d2deaa9304f8dfe0184aff2f91bb12 (patch)
tree1b7a392b95684dc255ac6bb1deae4863279abcdb /puppet/services/rabbitmq.yaml
parent830ab896e03c9f11aa1769e7fbb7909327492468 (diff)
parent1c5d16854417665f970ab6899759c25f865bf515 (diff)
Merge "Change rabbitmq queues HA mode from ha-all to ha-exactly"
Diffstat (limited to 'puppet/services/rabbitmq.yaml')
-rw-r--r--puppet/services/rabbitmq.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/puppet/services/rabbitmq.yaml b/puppet/services/rabbitmq.yaml
index 52300a2f..52d6c05b 100644
--- a/puppet/services/rabbitmq.yaml
+++ b/puppet/services/rabbitmq.yaml
@@ -38,6 +38,13 @@ parameters:
type: string
default: ''
hidden: true
+ RabbitHAQueues:
+ description:
+ The number of HA queues to be configured in rabbit. The default is 0 which will
+ be automatically overridden to CEIL(N/2) where N is the number of nodes running
+ rabbitmq.
+ default: 0
+ type: number
MonitoringSubscriptionRabbitmq:
default: 'overcloud-rabbitmq'
type: string
@@ -88,5 +95,7 @@ outputs:
# internal_api_uri -> [IP]
# internal_api_subnet - > IP/CIDR
rabbitmq::node_ip_address: {get_param: [ServiceNetMap, RabbitmqNetwork]}
+ rabbitmq::nr_ha_queues: {get_param: RabbitHAQueues}
+
step_config: |
include ::tripleo::profile::base::rabbitmq