X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9e5bb48b50f1ccfaab1939d6016f1b21b0802334..a54c0f72656d883ae8f27d5074e35f60e61dce09:/tools/salt-install/provision.sh diff --git a/tools/salt-install/provision.sh b/tools/salt-install/provision.sh index 74bc16493f..77c2016151 100755 --- a/tools/salt-install/provision.sh +++ b/tools/salt-install/provision.sh @@ -211,7 +211,10 @@ VERSION="latest" SALT_VERSION="3004" # Other formula versions we depend on -POSTGRES_TAG="v0.44.0" +#POSTGRES_TAG="v0.44.0" +#POSTGRES_URL="https://github.com/saltstack-formulas/postgres-formula.git" +POSTGRES_TAG="0.45.0-bugfix327" +POSTGRES_URL="https://github.com/arvados/postgres-formula.git" NGINX_TAG="v2.8.1" DOCKER_TAG="v2.4.2" LOCALE_TAG="v0.3.4" @@ -352,7 +355,7 @@ test -d nginx && ( cd nginx && git fetch ) \ echo "...postgres" test -d postgres && ( cd postgres && git fetch ) \ - || git clone --quiet https://github.com/saltstack-formulas/postgres-formula.git ${F_DIR}/postgres + || git clone --quiet ${POSTGRES_URL} ${F_DIR}/postgres ( cd postgres && git checkout --quiet tags/"${POSTGRES_TAG}" ) echo "...letsencrypt" @@ -631,7 +634,7 @@ if [ -z "${ROLES}" ]; then echo "extra_custom_certs_dir: /srv/salt/certs" > ${P_DIR}/extra_custom_certs.sls echo "extra_custom_certs:" >> ${P_DIR}/extra_custom_certs.sls - for c in controller websocket workbench workbench2 webshell keepweb keepproxy shell; do + for c in controller websocket workbench workbench2 webshell keepweb keepproxy; do # Are we in a single-host-single-hostname env? if [ "${USE_SINGLE_HOSTNAME}" = "yes" ]; then # Are we in a single-host-single-hostname env? @@ -831,7 +834,7 @@ if [ "${DUMP_CONFIG}" = "yes" ]; then fi # Now run the install -salt-call --local state.apply -l ${LOG_LEVEL} +salt-call --state-output=mixed --local state.apply -l ${LOG_LEVEL} # Finally, make sure that /etc/hosts is not overwritten on reboot if [ -d /etc/cloud/cloud.cfg.d ]; then