From a7417a7242026a557ab000a61062a07b623756e0 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 8 Nov 2022 14:48:48 -0500 Subject: [PATCH] Update soup --- salt/common/tools/sbin/soup | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index c96d4e904..ec6e218e5 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -549,6 +549,7 @@ preupgrade_changes() { [[ "$INSTALLEDVERSION" == 2.3.160 ]] && up_to_2.3.170 [[ "$INSTALLEDVERSION" == 2.3.170 ]] && up_to_2.3.180 [[ "$INSTALLEDVERSION" == 2.3.180 ]] && up_to_2.3.181 + [[ "$INSTALLEDVERSION" == 2.3.181 ]] && up_to_2.3.182 true } @@ -570,6 +571,7 @@ postupgrade_changes() { [[ "$POSTVERSION" == 2.3.160 ]] && post_to_2.3.170 [[ "$POSTVERSION" == 2.3.170 ]] && post_to_2.3.180 [[ "$POSTVERSION" == 2.3.180 ]] && post_to_2.3.181 + [[ "$POSTVERSION" == 2.3.181 ]] && post_to_2.3.182 true } @@ -673,6 +675,10 @@ post_to_2.3.181() { echo "Nothing to do for .181" } +post_to_2.3.182() { + echo "Nothing to do for .182" +} + stop_salt_master() { # kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts set +e @@ -972,6 +978,11 @@ up_to_2.3.181() { INSTALLEDVERSION=2.3.181 } +up_to_2.3.182() { + echo "Upgrading to 2.3.182" + INSTALLEDVERSION=2.3.182 +} + verify_upgradespace() { CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//') if [ "$CURRENTSPACE" -lt "10" ]; then