From 8889c79afdbbd019e87107ba72e6b796ec9b81c9 Mon Sep 17 00:00:00 2001 From: TOoSmOotH Date: Wed, 16 Dec 2020 09:39:41 -0500 Subject: [PATCH] Run a common state first to fix docker race condition --- salt/common/tools/sbin/soup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index a87279a0c..f9ac6de2b 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -583,6 +583,9 @@ if [[ "$FLEET_MANAGER" == "True" || "$FLEET_NODE" == "True" ]]; then echo "" fi +echo "" +echo "Applying common state for any package updates." +salt-call -l info state.apply common queue=True echo "" echo "Running a highstate to complete the Security Onion upgrade on this manager. This could take several minutes." salt-call state.highstate -l info queue=True