From 6c815a95a7d7f41599713b6a48826c89a913dd69 Mon Sep 17 00:00:00 2001 From: Filip Pytloun Date: Tue, 28 Jun 2016 21:49:00 +0200 Subject: [PATCH] Allow defining minimum master nodes --- elasticsearch/files/elasticsearch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/files/elasticsearch.yml b/elasticsearch/files/elasticsearch.yml index fcea2a9..268b46c 100644 --- a/elasticsearch/files/elasticsearch.yml +++ b/elasticsearch/files/elasticsearch.yml @@ -312,7 +312,7 @@ network.publish_host: {{ server.publish_host }} # operational within the cluster. Its recommended to set it to a higher value # than 1 when running more than 2 nodes in the cluster. # -# discovery.zen.minimum_master_nodes: 1 +discovery.zen.minimum_master_nodes: {{ server.get('cluster', {}).minimum_master_nodes|default(1) }} # Set the time to wait for ping responses from other nodes when discovering. # Set this option to a higher value on a slow or congested network -- 2.32.7