From 7640a0383a99f698ef1c9949f22cdeb5b51579bc Mon Sep 17 00:00:00 2001 From: Jeffrey E Date: Thu, 3 May 2018 06:37:50 +0200 Subject: [PATCH] Update elasticsearch.yml.j2 --- templates/elasticsearch.yml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %}