Merge pull request #427 from cyrilleverrier/fix_elasticsearch_yml_j2

elasticsearch.yml: xpack settings added only if es_enable_xpack
This commit is contained in:
Michael Russell 2018-02-21 15:28:47 +01:00 committed by GitHub
commit 644a209c2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 %}
@ -42,3 +43,4 @@ xpack.ml.enabled: false
{% if not "graph" in es_xpack_features %}
xpack.graph.enabled: false
{% endif %}
{% endif %}