[ARVADOS] created: 2.1.0-2060-g8e82a73bb
Git user
git at public.arvados.org
Fri Mar 11 17:48:34 UTC 2022
at 8e82a73bb7ff5e1cb1203f5121e0bf4b4e831253 (commit)
commit 8e82a73bb7ff5e1cb1203f5121e0bf4b4e831253
Author: Javier Bértoli <jbertoli at curii.com>
Date: Fri Mar 11 14:47:39 2022 -0300
18635: remove .psqlrc management from the provision.sh script
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli at curii.com>
diff --git a/tools/salt-install/provision.sh b/tools/salt-install/provision.sh
index 7b1d14828..2d33cac57 100755
--- a/tools/salt-install/provision.sh
+++ b/tools/salt-install/provision.sh
@@ -754,19 +754,6 @@ if [ "${DUMP_CONFIG}" = "yes" ]; then
exit 0
fi
-# FIXME! #16992 Temporary fix for psql call in arvados-api-server
-if [ -e /root/.psqlrc ]; then
- if ! ( grep 'pset pager off' /root/.psqlrc ); then
- RESTORE_PSQL="yes"
- cp /root/.psqlrc /root/.psqlrc.provision.backup
- fi
-else
- DELETE_PSQL="yes"
-fi
-
-echo '\pset pager off' >> /root/.psqlrc
-# END FIXME! #16992 Temporary fix for psql call in arvados-api-server
-
# Now run the install
salt-call --local state.apply -l ${LOG_LEVEL}
@@ -776,18 +763,6 @@ if [ -d /etc/cloud/cloud.cfg.d ]; then
sed -i 's/^manage_etc_hosts: true/#manage_etc_hosts: true/g' /etc/cloud/cloud.cfg.d/*
fi
-# FIXME! #16992 Temporary fix for psql call in arvados-api-server
-if [ "x${DELETE_PSQL}" = "xyes" ]; then
- echo "Removing .psql file"
- rm /root/.psqlrc
-fi
-
-if [ "x${RESTORE_PSQL}" = "xyes" ]; then
- echo "Restoring .psql file"
- mv -v /root/.psqlrc.provision.backup /root/.psqlrc
-fi
-# END FIXME! #16992 Temporary fix for psql call in arvados-api-server
-
# Leave a copy of the Arvados CA so the user can copy it where it's required
if [ "$DEV_MODE" = "yes" ]; then
echo "Copying the Arvados CA certificate to the installer dir, so you can import it"
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list