X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Felasticsearch.git;a=blobdiff_plain;f=elasticsearch%2Ffiles%2Felasticsearch.yml;h=5c4bc3ed92c635f56e146811d7d1025ede5dbf15;hp=4d212610dcc4c656779497e5fabb688326676623;hb=d9090f6ff1caaad26d725baae69708f33e40be7e;hpb=21e5b05baff087119f9c3c2cce97283a254fa20f diff --git a/elasticsearch/files/elasticsearch.yml b/elasticsearch/files/elasticsearch.yml index 4d21261..5c4bc3e 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 ################################### @@ -423,3 +430,7 @@ discovery.zen.ping.unicast.hosts: [{% for member in server.cluster.members %}"{{ #monitor.jvm.gc.old.warn: 10s #monitor.jvm.gc.old.info: 5s #monitor.jvm.gc.old.debug: 2s + +{%- if server.script is mapping %} +script: {{ server.script|yaml }} +{%- endif %}