Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #427 from cyrilleverrier/fix_elasticsearch_yml_j2
Browse files Browse the repository at this point in the history
elasticsearch.yml: xpack settings added only if es_enable_xpack
  • Loading branch information
Crazybus authored Feb 21, 2018
2 parents 143cf8b + e4cf9ae commit 644a209
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/elasticsearch.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ path.data: {{ data_dirs | array_to_str }}

path.logs: {{ log_dir }}

{% if es_enable_xpack %}
{% if not "security" in es_xpack_features %}
xpack.security.enabled: false
{% endif %}
Expand All @@ -42,3 +43,4 @@ xpack.ml.enabled: false
{% if not "graph" in es_xpack_features %}
xpack.graph.enabled: false
{% endif %}
{% endif %}

0 comments on commit 644a209

Please sign in to comment.