From 243e888717a9a8bd5746e0f8e2196055c74b0e89 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Wed, 23 Jun 2021 14:41:34 -0400 Subject: [PATCH] Add queue=True -- needed for all salt commands, not just state changes --- salt/common/tools/sbin/so-elastic-auth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/common/tools/sbin/so-elastic-auth b/salt/common/tools/sbin/so-elastic-auth index 715f55fe4..6157cb4b4 100755 --- a/salt/common/tools/sbin/so-elastic-auth +++ b/salt/common/tools/sbin/so-elastic-auth @@ -32,7 +32,7 @@ fi function restart() { if [[ -z "$ELASTIC_AUTH_SKIP_HIGHSTATE" ]]; then echo "Elasticsearch on all affected minions will now be stopped and then restarted..." - salt -C 'G@role:so-standalone or G@role:so-eval or G@role:so-import or G@role:so-manager or G@role:so-managersearch or G@role:so-node or G@role:so-heavynode' cmd.run so-elastic-stop + salt -C 'G@role:so-standalone or G@role:so-eval or G@role:so-import or G@role:so-manager or G@role:so-managersearch or G@role:so-node or G@role:so-heavynode' cmd.run so-elastic-stop queue=True echo "Applying highstate to all affected minions..." salt -C 'G@role:so-standalone or G@role:so-eval or G@role:so-import or G@role:so-manager or G@role:so-managersearch or G@role:so-node or G@role:so-heavynode' state.highstate queue=True fi