diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index ba0d6a778..9fdefad79 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -546,6 +546,7 @@ preupgrade_changes() { [[ "$INSTALLEDVERSION" == 2.3.130 ]] && up_to_2.3.140 [[ "$INSTALLEDVERSION" == 2.3.140 ]] && up_to_2.3.150 [[ "$INSTALLEDVERSION" == 2.3.150 ]] && up_to_2.3.160 + [[ "$INSTALLEDVERSION" == 2.3.160 ]] && up_to_2.3.170 true } @@ -564,6 +565,7 @@ postupgrade_changes() { [[ "$POSTVERSION" == 2.3.130 ]] && post_to_2.3.140 [[ "$POSTVERSION" == 2.3.140 ]] && post_to_2.3.150 [[ "$POSTVERSION" == 2.3.150 ]] && post_to_2.3.160 + [[ "$POSTVERSION" == 2.3.160 ]] && post_to_2.3.170 true @@ -656,6 +658,10 @@ post_to_2.3.160() { echo "Nothing to do for .160" } +post_to_2.3.170() { + echo "Nothing to do for .170" +} + stop_salt_master() { # kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts set +e @@ -940,6 +946,11 @@ up_to_2.3.160() { INSTALLEDVERSION=2.3.160 } +up_to_2.3.170() { + echo "Upgrading to 2.3.170" + INSTALLEDVERSION=2.3.170 +} + verify_upgradespace() { CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//') if [ "$CURRENTSPACE" -lt "10" ]; then