diff --git a/templates/elasticsearch.yml.j2 b/templates/elasticsearch.yml.j2 index 56df843..4c30655 100644 --- a/templates/elasticsearch.yml.j2 +++ b/templates/elasticsearch.yml.j2 @@ -23,7 +23,7 @@ path.data: {{ data_dirs | array_to_str }} path.logs: {{ log_dir }} -{% if es_path_repo %} +{% if es_path_repo is defined %} path.repo: {{ es_path_repo }} {% endif %} @@ -67,4 +67,4 @@ xpack.notification.email: password: {{ es_mail_config['pass'] }} {% endif %} -{% endif %} \ No newline at end of file +{% endif %}