mirror of https://github.com/zulip/zulip.git
install: Pin new apt-based installs to the latest postgresql.
Since we now support Postgres versions from 10 to 12, we might as well have new installations start on Postgres 12 to avoid unnecessary migration/upgrade work.
This commit is contained in:
parent
6979ed9d97
commit
49a7a66004
|
@ -292,6 +292,18 @@ EOF
|
|||
auto_renew = yes
|
||||
EOF
|
||||
fi
|
||||
|
||||
if [ -e "/etc/init.d/postgresql" ]; then
|
||||
case " $os_id $os_id_like " in
|
||||
*' debian '*)
|
||||
cat <<EOF
|
||||
|
||||
[postgresql]
|
||||
version = 12
|
||||
EOF
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
) > /etc/zulip/zulip.conf
|
||||
|
||||
case ",$PUPPET_CLASSES," in
|
||||
|
|
Loading…
Reference in New Issue