21383: Upgrade Salt installer to Salt 3006
authorBrett Smith <brett.smith@curii.com>
Mon, 15 Jan 2024 18:39:34 +0000 (13:39 -0500)
committerBrett Smith <brett.smith@curii.com>
Thu, 18 Apr 2024 15:49:25 +0000 (11:49 -0400)
Salt 3006 is the first version to support Python 3.11, included with
Debian 12.

Because 3006 is the current stable, we have to update the bootstrap
invocation to match. I guess we'll have to make another change after it
becomes old-stable.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

tools/salt-install/provision.sh

index 8dd07020c349942ff9f3936e8462e8a7b5b44026..f3704c4c1903dfd869dd89ba2440c877de18cf32 100755 (executable)
@@ -284,7 +284,7 @@ VERSION="latest"
 
 # We pin the salt version to avoid potential incompatibilities when a new
 # stable version is released.
-SALT_VERSION="3004"
+SALT_VERSION="3006"
 
 # Other formula versions we depend on
 #POSTGRES_TAG="v0.44.0"
@@ -388,7 +388,7 @@ else
     echo "Salt already installed"
   else
     curl -L https://bootstrap.saltstack.com -o /tmp/bootstrap_salt.sh
-    sh /tmp/bootstrap_salt.sh -XdfP -x python3 old-stable ${SALT_VERSION}
+    sh /tmp/bootstrap_salt.sh -XdfP -x python3 stable ${SALT_VERSION}
     /bin/systemctl stop salt-minion.service
     /bin/systemctl disable salt-minion.service
   fi