Add state for updating Elasticsearch index templates
To prevent index template from constant or accidential update
add separate salt state to explicit use in order to update.
To use run:
salt -C 'I@elasticsearch:client' state.sls elasticsearch.client.update_index_templates
Change-Id: I19aca3c6901f79ac22457a30aada0904057de5cc
Closes-Bug: PROD-17954
diff --git a/README.rst b/README.rst
index eb8a67b..a117a0b 100644
--- a/README.rst
+++ b/README.rst
@@ -192,6 +192,15 @@
type: keyword
ignore_above: 256
+Upgrade operations
+------------------
+
+Default elasticsearch client state can only create index temlates. To update exisiting ones according to pillar dedicated state should be run explicitly:
+
+.. code-block:: bash
+
+ salt -C 'I@elasticsearch:client' state.sls elasticsearch.client.update_index_templates
+
Read more
=========