Code Review
/
salt-formulas
/
elasticsearch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
22eaeb9
)
Merge "provide index creation without date-mapping"
author
Jakub Josef
<jjosef@mirantis.com>
Wed, 27 Dec 2017 17:58:46 +0000
(17:58 +0000)
committer
Gerrit Code Review
<gerrit2@e9aa877068d1>
Wed, 27 Dec 2017 17:58:46 +0000
(17:58 +0000)
elasticsearch/client/init.sls
patch
|
blob
|
history
diff --git
a/elasticsearch/client/init.sls
b/elasticsearch/client/init.sls
index c169e97f51f228b1be3c34d1a1bf2c310e34e91b..058f98e0c6455639ff3e0e3793965e9e362d2736 100644
(file)
--- a/
elasticsearch/client/init.sls
+++ b/
elasticsearch/client/init.sls
@@
-43,8
+43,13
@@
elasticsearch_index_{{ index_name }}_{{ operation }}:
module.run:
- name: elasticsearch.index_{{ operation }}
- index: {{ index_name }}-{{ curdate }}
+{%- else %}
+elasticsearch_index_{{ index_name }}_{{ operation }}:
+ module.run:
+ - name: elasticsearch.index_{{ operation }}
+ - index: {{ index_name }}
{%- endif %}
{%- endfor %}
-{%- endif %}
\ No newline at end of file
+{%- endif %}