[arvados] updated: 2.6.0-594-g4895bd8044

git repository hosting git at public.arvados.org
Thu Sep 14 14:47:07 UTC 2023


Summary of changes:
 tools/salt-install/common.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  4895bd804402ff8cd3b4ef6efb06201833fe2f91 (commit)
      from  4e527029e462d60779c7b40ed2ad8b1cbe6eddd3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 4895bd804402ff8cd3b4ef6efb06201833fe2f91
Author: Lucas Di Pentima <lucas.dipentima at curii.com>
Date:   Thu Sep 14 11:46:30 2023 -0300

    20926: Sets default PG version when when using single host deployment.
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>

diff --git a/tools/salt-install/common.sh b/tools/salt-install/common.sh
index 7cc4c3b232..8f9514ad98 100644
--- a/tools/salt-install/common.sh
+++ b/tools/salt-install/common.sh
@@ -56,6 +56,6 @@ else
 fi
 
 # Auto-sets PG version if needed
-if [ -n "${ROLE2NODES['database']:-}" ]; then
+if [[ -n "${ROLE2NODES['database']:-}" || -v ROLE2NODES['localhost'] ]]; then
   DATABASE_POSTGRESQL_VERSION="${DATABASE_POSTGRESQL_VERSION:-${DATABASE_POSTGRESQL_DEFAULT_VERSION}}"
 fi
\ No newline at end of file

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list