Code Review
/
apex-tripleo-heat-templates.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
21eed93
)
Set all RabbitMQ queues as mirrored when clustered
author
Giulio Fidente
<gfidente@redhat.com>
Wed, 18 Mar 2015 18:59:55 +0000
(14:59 -0400)
committer
Giulio Fidente
<gfidente@redhat.com>
Fri, 20 Mar 2015 12:58:18 +0000
(08:58 -0400)
Purpose of this change is to enable on the server
side the ha-mode policy for all queues when nodes
are clustered.
Change-Id: I16e3d375aabac9dbcdc198c71069086951e40fc0
puppet/manifests/overcloud_controller.pp
patch
|
blob
|
history
diff --git
a/puppet/manifests/overcloud_controller.pp
b/puppet/manifests/overcloud_controller.pp
index
577f505
..
8f6398f
100644
(file)
--- a/
puppet/manifests/overcloud_controller.pp
+++ b/
puppet/manifests/overcloud_controller.pp
@@
-129,6
+129,15
@@
if hiera('step') >= 2 {
cluster_nodes => $rabbit_nodes,
node_ip_address => hiera('controller_host'),
}
+ if $rabbit_cluster {
+ rabbitmq_policy { 'ha-all@/':
+ pattern => '^(?!amq\.).*',
+ definition => {
+ 'ha-mode' => 'all',
+ 'ha-sync-mode' => 'automatic',
+ },
+ }
+ }
rabbitmq_vhost { '/':
provider => 'rabbitmqctl',
}