From 3d687f040431d938f6f6cfbb1885f3a04dfabb8f Mon Sep 17 00:00:00 2001 From: Doug Burks Date: Fri, 16 Jun 2023 12:55:52 -0400 Subject: [PATCH] Update soup for 2.3.260 --- 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 5b907c3db..20d5e56e3 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -557,6 +557,7 @@ preupgrade_changes() { [[ "$INSTALLEDVERSION" == 2.3.220 ]] && up_to_2.3.230 [[ "$INSTALLEDVERSION" == 2.3.230 ]] && up_to_2.3.240 [[ "$INSTALLEDVERSION" == 2.3.240 ]] && up_to_2.3.250 + [[ "$INSTALLEDVERSION" == 2.3.250 ]] && up_to_2.3.260 true } @@ -587,6 +588,7 @@ postupgrade_changes() { [[ "$POSTVERSION" == 2.3.220 ]] && post_to_2.3.230 [[ "$POSTVERSION" == 2.3.230 ]] && post_to_2.3.240 [[ "$POSTVERSION" == 2.3.240 ]] && post_to_2.3.250 + [[ "$POSTVERSION" == 2.3.250 ]] && post_to_2.3.260 true } @@ -735,6 +737,11 @@ post_to_2.3.250() { POSTVERSION=2.3.250 } +post_to_2.3.260() { + echo "Nothing to do for .260" + POSTVERSION=2.3.260 +} + stop_salt_master() { # kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts set +e @@ -1090,6 +1097,11 @@ up_to_2.3.250() { INSTALLEDVERSION=2.3.250 } +up_to_2.3.260() { + echo "Upgrading to 2.3.260" + INSTALLEDVERSION=2.3.260 +} + verify_upgradespace() { CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//') if [ "$CURRENTSPACE" -lt "10" ]; then