Remove old ES index templates

Signed-off-by: Wes Lambert <wlambertts@gmail.com>
This commit is contained in:
Wes Lambert
2022-03-07 20:02:45 +00:00
parent eac120f4c2
commit 647b316a96

View File

@@ -480,6 +480,8 @@ post_to_2.3.100() {
post_to_2.3.110() {
echo "Post Processing for 2.3.110"
echo "Removing old Elasticsearch templates"
[ -d /opt/so/saltstack/default/salt/elasticsearch/templates/so ] && rm -rf /opt/so/saltstack/default/salt/elasticsearch/templates/so
echo "Updating Kibana dashboards"
salt-call state.apply kibana.so_savedobjects_defaults queue=True
POSTVERSION=2.3.110