From 91c7b8144d28e5ffb01b00c017bcbd429afd50f2 Mon Sep 17 00:00:00 2001 From: reyesj2 <94730068+reyesj2@users.noreply.github.com> Date: Fri, 26 Jan 2024 15:43:42 -0500 Subject: [PATCH] soup logic Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com> --- salt/manager/tools/sbin/soup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/salt/manager/tools/sbin/soup b/salt/manager/tools/sbin/soup index 948fc10b1..2e9c423ff 100755 --- a/salt/manager/tools/sbin/soup +++ b/salt/manager/tools/sbin/soup @@ -782,9 +782,11 @@ verify_latest_update_script() { # Verify that soup scripts updated as expected get_soup_script_hashes if [[ "$CURRENTSOUP" == "$GITSOUP" && "$CURRENTCMN" == "$GITCMN" && "$CURRENTIMGCMN" == "$GITIMGCMN" && "$CURRENTSOFIREWALL" == "$GITSOFIREWALL" ]]; then + echo "Succesfully updated soup scripts." + else echo "There was a problem updating soup scripts.. Trying to rerun script update" salt-call state.apply common.soup_scripts queue=True -linfo - else + fi echo "" echo "The soup script has been modified. Please run soup again to continue the upgrade." exit 0