install: Update postgresql.version comment to be more accurate.

This commit is contained in:
Alex Vandiver 2024-09-11 12:22:58 -04:00 committed by Tim Abbott
parent 22300373d3
commit 2eb5bcbcc9
1 changed files with 4 additions and 2 deletions

View File

@ -441,8 +441,10 @@ EOF
--write-catalog-summary \
--classfile=/var/lib/puppet/classes.txt
# We only need the PostgreSQL version setting on database hosts; but
# we don't know if this is a database host until we have the catalog summary.
# We only need the PostgreSQL version setting on database hosts,
# or hosts which talk directly to the database (e.g. application
# hosts); but we don't know if this is a database host until we
# have the catalog summary.
if (! has_class "zulip::postgresql_common" && ! has_class "zulip::postgresql_client") || [ "$package_system" != apt ]; then
crudini --del /etc/zulip/zulip.conf postgresql
fi