From 6ed1cc3875a57b9d760cbbab853e02d03a1818d8 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Mon, 22 Feb 2021 14:02:37 -0500 Subject: [PATCH] Add Soup Functions --- salt/common/tools/sbin/soup | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index 09be9531c..dc26eec8b 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -206,6 +206,7 @@ pillar_changes() { [[ "$INSTALLEDVERSION" =~ rc.2 ]] && rc2_to_rc3 [[ "$INSTALLEDVERSION" =~ rc.3 ]] && rc3_to_2.3.0 [[ "$INSTALLEDVERSION" == 2.3.0 ]] || [[ "$INSTALLEDVERSION" == 2.3.1 ]] || [[ "$INSTALLEDVERSION" == 2.3.2 ]] || [[ "$INSTALLEDVERSION" == 2.3.10 ]] && 2.3.0_to_2.3.20 + [[ "$INSTALLEDVERSION" == 2.3.20 ]] || [[ "$INSTALLEDVERSION" == 2.3.21 ]] && 2.3.2X_to_2.3.30 } rc1_to_rc2() { @@ -330,6 +331,10 @@ rc3_to_2.3.0() { } +2.3.2X_to_2.3.30(){ + +} + space_check() { # Check to see if there is enough space CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//')