diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index 254ea6580..51cb37241 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -555,6 +555,7 @@ preupgrade_changes() { [[ "$INSTALLEDVERSION" == 2.3.200 ]] && up_to_2.3.210 [[ "$INSTALLEDVERSION" == 2.3.210 ]] && up_to_2.3.220 [[ "$INSTALLEDVERSION" == 2.3.220 ]] && up_to_2.3.230 + [[ "$INSTALLEDVERSION" == 2.3.230 ]] && up_to_2.3.240 true } @@ -583,6 +584,7 @@ postupgrade_changes() { [[ "$POSTVERSION" == 2.3.200 ]] && post_to_2.3.210 [[ "$POSTVERSION" == 2.3.210 ]] && post_to_2.3.220 [[ "$POSTVERSION" == 2.3.220 ]] && post_to_2.3.230 + [[ "$POSTVERSION" == 2.3.230 ]] && post_to_2.3.240 true } @@ -721,6 +723,11 @@ post_to_2.3.230() { POSTVERSION=2.3.230 } +post_to_2.3.240() { + echo "Nothing to do for .240" + POSTVERSION=2.3.240 +} + stop_salt_master() { # kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts set +e @@ -1066,6 +1073,11 @@ up_to_2.3.230() { INSTALLEDVERSION=2.3.230 } +up_to_2.3.240() { + echo "Upgrading to 2.3.240" + INSTALLEDVERSION=2.3.240 +} + verify_upgradespace() { CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//') if [ "$CURRENTSPACE" -lt "10" ]; then