mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 12:21:58 +00:00
provision: Use vendored pg_hba.conf on CentOS.
This commit is contained in:
@@ -245,6 +245,9 @@ def install_apt_deps():
|
||||
# Compile tsearch-extras from scratch
|
||||
run(["sudo", "./scripts/lib/build-tsearch-extras"])
|
||||
run(["sudo", "-H", "/usr/pgsql-10/bin/postgresql-10-setup", "initdb"])
|
||||
# Use vendored pg_hba.conf instead
|
||||
pg_hba_conf = "/var/lib/pgsql/10/data/pg_hba.conf"
|
||||
run(["sudo", "cp", "-a", "puppet/zulip/files/postgresql/centos_pg_hba.conf", pg_hba_conf])
|
||||
else:
|
||||
# setup-apt-repo does an `apt-get update`
|
||||
run(["sudo", "./scripts/lib/setup-apt-repo"])
|
||||
|
||||
Reference in New Issue
Block a user