Commit c36a71cb by Feanil Patel

Don't trim whitespace in front of setting.

It pulls the setting into the comment above it if you do that.
parent dc4365c4
...@@ -33,7 +33,7 @@ script.disable_dynamic: true ...@@ -33,7 +33,7 @@ script.disable_dynamic: true
# to perform discovery when new nodes (master or data) are started: # to perform discovery when new nodes (master or data) are started:
# #
# discovery.zen.ping.unicast.hosts: ["host1", "host2:port", "host3[portX-portY]"] # discovery.zen.ping.unicast.hosts: ["host1", "host2:port", "host3[portX-portY]"]
{%- if ELASTICSEARCH_CLUSTER_MEMBERS|length > 1 -%} {% if ELASTICSEARCH_CLUSTER_MEMBERS|length > 1 -%}
discovery.zen.ping.unicast.hosts: ['{{ELASTICSEARCH_CLUSTER_MEMBERS|join("\',\'") }}'] discovery.zen.ping.unicast.hosts: ['{{ELASTICSEARCH_CLUSTER_MEMBERS|join("\',\'") }}']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment