From 69f889dbd962ffc745e58a4890f36d27a7f4e4d5 Mon Sep 17 00:00:00 2001 From: Doug Burks Date: Tue, 14 Feb 2023 08:42:35 -0500 Subject: [PATCH] Update soup for 2.3.220 --- salt/common/tools/sbin/soup | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index 4f5fdc29c..d7074619f 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -553,6 +553,7 @@ preupgrade_changes() { [[ "$INSTALLEDVERSION" == 2.3.182 ]] && up_to_2.3.190 [[ "$INSTALLEDVERSION" == 2.3.190 ]] && up_to_2.3.200 [[ "$INSTALLEDVERSION" == 2.3.200 ]] && up_to_2.3.210 + [[ "$INSTALLEDVERSION" == 2.3.210 ]] && up_to_2.3.220 true } @@ -578,6 +579,7 @@ postupgrade_changes() { [[ "$POSTVERSION" == 2.3.182 ]] && post_to_2.3.190 [[ "$POSTVERSION" == 2.3.190 ]] && post_to_2.3.200 [[ "$POSTVERSION" == 2.3.200 ]] && post_to_2.3.210 + [[ "$POSTVERSION" == 2.3.210 ]] && post_to_2.3.220 true } @@ -706,6 +708,11 @@ post_to_2.3.210() { POSTVERSION=2.3.210 } +post_to_2.3.220() { + echo "Nothing to do for .220" + POSTVERSION=2.3.220 +} + stop_salt_master() { # kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts set +e @@ -1041,6 +1048,11 @@ up_to_2.3.210() { INSTALLEDVERSION=2.3.210 } +up_to_2.3.220() { + echo "Upgrading to 2.3.220" + INSTALLEDVERSION=2.3.220 +} + verify_upgradespace() { CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//') if [ "$CURRENTSPACE" -lt "10" ]; then