From 4363e71e80464bd5d50610ce367b9fdbe538b395 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Thu, 17 Aug 2023 10:51:59 -0400 Subject: [PATCH] Add soup for 2.4.20 --- salt/manager/tools/sbin/soup | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/salt/manager/tools/sbin/soup b/salt/manager/tools/sbin/soup index af09cc9df2..145260c97e 100755 --- a/salt/manager/tools/sbin/soup +++ b/salt/manager/tools/sbin/soup @@ -394,6 +394,7 @@ preupgrade_changes() { [[ "$INSTALLEDVERSION" == 2.4.3 ]] && up_to_2.4.4 [[ "$INSTALLEDVERSION" == 2.4.4 ]] && up_to_2.4.5 [[ "$INSTALLEDVERSION" == 2.4.5 ]] && up_to_2.4.10 + [[ "$INSTALLEDVERSION" == 2.4.10 ]] && up_to_2.4.20 true } @@ -405,6 +406,7 @@ postupgrade_changes() { [[ "$POSTVERSION" == 2.4.3 ]] && post_to_2.4.4 [[ "$POSTVERSION" == 2.4.4 ]] && post_to_2.4.5 [[ "$POSTVERSION" == 2.4.5 ]] && post_to_2.4.10 + [[ "$POSTVERSION" == 2.4.10 ]] && post_to_2.4.20 true } @@ -430,6 +432,11 @@ post_to_2.4.10() { POSTVERSION=2.4.10 } +post_to_2.4.20() { + echo "Nothing to apply" + POSTVERSION=2.4.20 +} + stop_salt_master() { # kill all salt jobs across the grid because the hang indefinitely if they are queued and salt-master restarts set +e @@ -496,6 +503,12 @@ up_to_2.4.10() { INSTALLEDVERSION=2.4.10 } +up_to_2.4.20() { + echo "Nothing to do for 2.4.20" + + INSTALLEDVERSION=2.4.20 +} + determine_elastic_agent_upgrade() { if [[ $is_airgap -eq 0 ]]; then update_elastic_agent_airgap