Skip to content

Commit

Permalink
Allow to specify discovery type
Browse files Browse the repository at this point in the history
With this commit we allow to pass the setting `discovery.type` as a
parameter which is handy for testing in Docker.

Relate #26
  • Loading branch information
danielmitterdorfer authored Apr 15, 2019
1 parent f753be7 commit 836fc54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cars/v1/vanilla/templates/config/elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ cluster.initial_master_nodes: {{ all_node_ips }}
#discovery.seed_hosts: ["host1", "host2"]
#cluster.initial_master_nodes: ["node-name1", "node-name2"]
{%- endif %}
{%- if discovery_type %}
discovery.type: {{discovery_type}}
{%- endif %}
#
#
# For more information, see the documentation at:
Expand Down

0 comments on commit 836fc54

Please sign in to comment.