* debian/config.yml.in: Set postgresql.pgpass option and add a commented-out
pg_hba line for md5 connections from the local network.
This commit is contained in:
parent
dec37dfc3b
commit
1d92f074a2
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,6 +1,8 @@
|
||||||
patroni (1.5.4-5) UNRELEASED; urgency=medium
|
patroni (1.5.4-5) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
*
|
[ Michael Banck ]
|
||||||
|
* debian/config.yml.in: Set postgresql.pgpass option and add a commented-out
|
||||||
|
pg_hba line for md5 connections from the local network.
|
||||||
|
|
||||||
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Tue, 29 Jan 2019 11:22:38 +0100
|
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Tue, 29 Jan 2019 11:22:38 +0100
|
||||||
|
|
||||||
|
|
8
debian/config.yml.in
vendored
8
debian/config.yml.in
vendored
|
@ -53,11 +53,14 @@ bootstrap:
|
||||||
# archive_command: mkdir -p ../wal_archive && test ! -f ../wal_archive/%f && cp %p ../wal_archive/%f
|
# archive_command: mkdir -p ../wal_archive && test ! -f ../wal_archive/%f && cp %p ../wal_archive/%f
|
||||||
# recovery_conf:
|
# recovery_conf:
|
||||||
# restore_command: cp ../wal_archive/%f %p
|
# restore_command: cp ../wal_archive/%f %p
|
||||||
# Set pg_hba.conf to the following values after bootstrapping or cloning
|
# Set pg_hba.conf to the following values after bootstrapping or cloning.
|
||||||
|
# If you want to allow regular connections from the local network, or
|
||||||
|
# want to use pg_rewind, you need to uncomment the fourth entry.
|
||||||
pg_hba:
|
pg_hba:
|
||||||
- local all all peer
|
- local all all peer
|
||||||
- host all all 127.0.0.1/32 md5
|
- host all all 127.0.0.1/32 md5
|
||||||
- host all all ::1/128 md5
|
- host all all ::1/128 md5
|
||||||
|
# - host all all @NETWORK@ md5
|
||||||
- local replication all peer
|
- local replication all peer
|
||||||
- host replication all 127.0.0.1/32 md5
|
- host replication all 127.0.0.1/32 md5
|
||||||
- host replication all ::1/128 md5
|
- host replication all ::1/128 md5
|
||||||
|
@ -76,8 +79,7 @@ postgresql:
|
||||||
data_dir: /var/lib/postgresql/@VERSION@/@CLUSTER@
|
data_dir: /var/lib/postgresql/@VERSION@/@CLUSTER@
|
||||||
bin_dir: /usr/lib/postgresql/@VERSION@/bin
|
bin_dir: /usr/lib/postgresql/@VERSION@/bin
|
||||||
config_dir: /etc/postgresql/@VERSION@/@CLUSTER@
|
config_dir: /etc/postgresql/@VERSION@/@CLUSTER@
|
||||||
# optional pgpass file that patroni uses (has to exist)
|
pgpass: /etc/postgresql/@VERSION@/@CLUSTER@/pgpass
|
||||||
#pgpass: /etc/postgresql/11/patroni/pgpass
|
|
||||||
authentication:
|
authentication:
|
||||||
replication:
|
replication:
|
||||||
username: replicator
|
username: replicator
|
||||||
|
|
Loading…
Reference in a new issue