[arvados] created: 2.6.0-588-gaa3e26a751

git repository hosting git at public.arvados.org
Fri Sep 8 14:46:40 UTC 2023


        at  aa3e26a751884b4376ae6ebefe930bcdc72c737f (commit)


commit aa3e26a751884b4376ae6ebefe930bcdc72c737f
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date:   Fri Sep 8 11:45:39 2023 -0300

    20934: Attempts to unblock package release by avoiding a long standing bug.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>

diff --git a/tools/salt-install/provision.sh b/tools/salt-install/provision.sh
index b44fc8b19b..1de5d1c753 100755
--- a/tools/salt-install/provision.sh
+++ b/tools/salt-install/provision.sh
@@ -1002,7 +1002,7 @@ if [ -d /etc/cloud/cloud.cfg.d ]; then
 fi
 
 # Leave a copy of the Arvados CA so the user can copy it where it's required
-if [ "${SSL_MODE}" = "self-signed" ]; then
+if [[ "${SSL_MODE}" = "self-signed" && -f /etc/ssl/certs/arvados-snakeoil-ca.pem ]]; then
   echo "Copying the Arvados CA certificate '${DOMAIN}-arvados-snakeoil-ca.crt' to the installer dir, so you can import it"
   if [ "x${VAGRANT:-}" = "xyes" ]; then
     cp /etc/ssl/certs/arvados-snakeoil-ca.pem /vagrant/${DOMAIN}-arvados-snakeoil-ca.pem

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list