X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Felasticsearch.git;a=blobdiff_plain;f=elasticsearch%2Ffiles%2Felasticsearch.yml;h=a51cf3cd901d8f0b689ae5398cab7ea6efc5d087;hp=4d212610dcc4c656779497e5fabb688326676623;hb=c69012544408e0e43c1e26db22bcc5cfe168d5a1;hpb=21c1f465784d4c0ad7e544e8a93bb52bcc6b6298 diff --git a/elasticsearch/files/elasticsearch.yml b/elasticsearch/files/elasticsearch.yml index 4d21261..a51cf3c 100644 --- a/elasticsearch/files/elasticsearch.yml +++ b/elasticsearch/files/elasticsearch.yml @@ -182,6 +182,13 @@ path.logs = {{ server.path.logs }} # Path to where plugins are installed: # # path.plugins: /path/to/plugins +# +{%- if server.snapshot is defined %} +path.repo: + {%- for repo_name, repo in server.snapshot.iteritems() %} + - {{ repo.path }} + {%- endfor %} +{%- endif %} #################################### Plugin ###################################