From 05e271af47ac582c1f5e2f6e4a456e6457ed99c2 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Fri, 21 Oct 2022 11:52:54 -0400 Subject: [PATCH] update soup for 2.3.181 --- 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 1f97113a0..c96d4e904 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -548,6 +548,7 @@ preupgrade_changes() { [[ "$INSTALLEDVERSION" == 2.3.150 ]] && up_to_2.3.160 [[ "$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 true } @@ -568,6 +569,7 @@ postupgrade_changes() { [[ "$POSTVERSION" == 2.3.150 ]] && post_to_2.3.160 [[ "$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 true } @@ -667,6 +669,10 @@ post_to_2.3.180() { echo "Nothing to do for .180" } +post_to_2.3.181() { + echo "Nothing to do for .181" +} + stop_salt_master() { # kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts set +e @@ -961,6 +967,11 @@ up_to_2.3.180() { INSTALLEDVERSION=2.3.180 } +up_to_2.3.181() { + echo "Upgrading to 2.3.181" + INSTALLEDVERSION=2.3.181 +} + verify_upgradespace() { CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//') if [ "$CURRENTSPACE" -lt "10" ]; then