From: Filip Pytloun Date: Tue, 28 Jun 2016 19:49:00 +0000 (+0200) Subject: Allow defining minimum master nodes X-Git-Tag: 2016.12~13 X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Felasticsearch.git;a=commitdiff_plain;h=6c815a95a7d7f41599713b6a48826c89a913dd69 Allow defining minimum master nodes --- 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