puppet: Add PostgreSQL 15 support.

Instead of copying over a mostly-unchanged `postgresql.conf`, we
transition to deploying a `conf.d/zulip.conf` which contains the
only material changes we made to the file, which were previously
appended to the end.

While shipping separate while `postgresql.conf` files for each
supported version is useful if there is large variety in supported
options between versions, there is not no such variation at current,
and the burden of overriding the entire default configuration is that
it must be keep up to date wit the package's version.
This commit is contained in:
Alex Vandiver
2023-05-08 15:51:25 +00:00
committed by Tim Abbott
parent 2aae32f642
commit f11350f789
7 changed files with 103 additions and 25 deletions

View File

@@ -12,7 +12,7 @@ export LC_ALL=C.UTF-8
export LANG=C.UTF-8
export LANGUAGE=C.UTF-8
UPGRADE_TO=${1:-14}
UPGRADE_TO=${1:-15}
UPGRADE_FROM=$(crudini --get /etc/zulip/zulip.conf postgresql version)
ZULIP_PATH="$(dirname "$0")/../.."