Ability to disable x-pack features

This commit is contained in:
Dale McDiarmid 2017-01-11 13:16:07 +00:00
parent 1a207458a6
commit f664580ce6
3 changed files with 22 additions and 2 deletions

View file

@ -23,3 +23,19 @@ path.work: {{ work_dir }}
{% endif %}
path.logs: {{ log_dir }}
{% if not "security" in es_xpack_features %}
xpack.security.enabled: false
{% endif %}
{% if not "monitoring" in es_xpack_features %}
xpack.monitoring.enabled: false
{% endif %}
{% if not "alerting" in es_xpack_features %}
xpack.watcher.enabled: false
{% endif %}
{% if not "reporting" in es_xpack_features %}
xpack.reporting.enabled: false
{% endif %}