add heavy action in soup for ssl redis, es, ls, fb

This commit is contained in:
Josh Patterson
2021-07-07 14:22:45 -04:00
committed by GitHub
parent 5eab57e500
commit 313260a0c5

View File

@@ -352,6 +352,7 @@ postupgrade_changes() {
[[ "$POSTVERSION" == 2.3.20 || "$POSTVERSION" == 2.3.21 ]] && post_2.3.2X_to_2.3.30
[[ "$POSTVERSION" == 2.3.30 ]] && post_2.3.30_to_2.3.40
[[ "$POSTVERSION" == 2.3.50 ]] && post_2.3.5X_to_2.3.60
[[ "$POSTVERSION" == 2.3.60 ]] && post_2.3.60_to_2.3.60-HEAVYNODE_SSL_LOGSTASH_REDIS_PIPELINES
true
}
@@ -378,6 +379,10 @@ post_2.3.5X_to_2.3.60() {
POSTVERSION=2.3.60
}
post_2.3.60_to_2.3.60-HEAVYNODE_SSL_LOGSTASH_REDIS_PIPELINES() {
salt G@role:so-heavynode -b 5% cmd.run 'salt-call state.apply ssl queue=True && so-redis-restart && so-elasticsearch-restart && so-filebeat-restart && so-logstash-restart'
}
rc1_to_rc2() {
# Move the static file to global.sls