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

Commit 644a209

Browse files
authored
Merge pull request #427 from cyrilleverrier/fix_elasticsearch_yml_j2
elasticsearch.yml: xpack settings added only if es_enable_xpack
2 parents 143cf8b + e4cf9ae commit 644a209

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/elasticsearch.yml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ path.data: {{ data_dirs | array_to_str }}
2323

2424
path.logs: {{ log_dir }}
2525

26+
{% if es_enable_xpack %}
2627
{% if not "security" in es_xpack_features %}
2728
xpack.security.enabled: false
2829
{% endif %}
@@ -42,3 +43,4 @@ xpack.ml.enabled: false
4243
{% if not "graph" in es_xpack_features %}
4344
xpack.graph.enabled: false
4445
{% endif %}
46+
{% endif %}

0 commit comments

Comments
 (0)