aboutsummaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-04-01 08:51:08 +0000
committerGerrit Code Review <review@openstack.org>2015-04-01 08:51:08 +0000
commita1fd1ac2fbb99ad261f4f4dd9399de005e65b8d0 (patch)
tree7c0842926a0db5750759f1ddbf97e32a0ac44eb2 /puppet
parent76a8a88486e44e761571e1f9d46696aa669fa7ec (diff)
parent17e06c0aa799fc78cb5e03bac518c8b782b8f562 (diff)
Merge "Set all RabbitMQ queues as mirrored when clustered"
Diffstat (limited to 'puppet')
-rw-r--r--puppet/manifests/overcloud_controller.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/puppet/manifests/overcloud_controller.pp b/puppet/manifests/overcloud_controller.pp
index 66eb0c1b..e71adece 100644
--- a/puppet/manifests/overcloud_controller.pp
+++ b/puppet/manifests/overcloud_controller.pp
@@ -132,6 +132,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',
}