From 5f8e75a84ea3e801a773818efa1d125438c0c41b Mon Sep 17 00:00:00 2001 From: Endre Karlson Date: Tue, 24 Jun 2014 19:00:28 +0200 Subject: [PATCH] Allow ha_mode to be set. This allows the cluster_partition_handling to be set for the rabbitmq.config. It will default to 'pause_minority'. Closes-Bug: #1333807 Change-Id: Ic766731843c959abd4b527ced25c485d582923e9 --- .../os-config-applier/etc/rabbitmq/rabbitmq.config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/elements/rabbitmq-server/os-config-applier/etc/rabbitmq/rabbitmq.config b/elements/rabbitmq-server/os-config-applier/etc/rabbitmq/rabbitmq.config index df76fd473..13bbddf8d 100644 --- a/elements/rabbitmq-server/os-config-applier/etc/rabbitmq/rabbitmq.config +++ b/elements/rabbitmq-server/os-config-applier/etc/rabbitmq/rabbitmq.config @@ -14,5 +14,8 @@ ,{{#rabbit.keepalive_disabled}}{keepalive, false}{{/rabbit.keepalive_disabled}}{{^rabbit.keepalive_disabled}}{keepalive, true}{{/rabbit.keepalive_disabled}} ]} ] - } + }, + {rabbit, [ + {cluster_partition_handling, {{#rabbit.cluster_partition_handling}}{{rabbit.cluster_partition_handling}}{{/rabbit.cluster_partition_handling}}{{^rabbit.cluster_partition_handling}}pause_minority{{/rabbit.cluster_partition_handling}} } + ]} ].