Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

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

Alex Vandiver2eb5bcbcc910
diff --git a/scripts/lib/install b/scripts/lib/install
index a49ad8815f0..7066077c3e3 100755
--- a/scripts/lib/install
+++ b/scripts/lib/install
@@ -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