From a930e714480676bd27d629d8786dc9d8ba7243dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Duchaussois?= Date: Wed, 8 Jan 2020 13:44:13 +0100 Subject: Add partition handling setting --- templates/etc/rabbitmq/rabbitmq.config.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/etc/rabbitmq/rabbitmq.config.j2 b/templates/etc/rabbitmq/rabbitmq.config.j2 index c2d836a..4d3e81c 100644 --- a/templates/etc/rabbitmq/rabbitmq.config.j2 +++ b/templates/etc/rabbitmq/rabbitmq.config.j2 @@ -5,6 +5,9 @@ {% elif rabbitmq_listeners is defined %} {tcp_listeners, [{% for item in rabbitmq_listeners %}{"{{ item }}", {{ rabbitmq_listen_port }}}{% if not loop.last %}, {% endif %}{% endfor %}]} {% endif %} +{% if rabbitmq_cluster_partition_handling is defined %} + ,{cluster_partition_handling, {{ rabbitmq_cluster_partition_handling }}} +{% endif %} {% if rabbitmq_ssl_enable %} , {num_ssl_acceptors, 10}, -- cgit v1.2.3