Merge pull request #222 from myii/PR_psql10_acls

Enable replication connections by default in `pg_hba.conf`
This commit is contained in:
Niels Abspoel 2018-06-19 08:23:03 +02:00 committed by GitHub
commit aa91079a3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View file

@ -7,7 +7,7 @@ postgres:
# Set True to configure upstream postgresql.org repository for YUM/APT/ZYPP
use_upstream_repo: False
# Version to install from upstream repository (if upstream_repo: True)
version: '9.6'
version: '10'
# If automatic package installation fails, use `fromrepo` to specify the
# upstream repo to install packages from [#133, #185] (if upstream_repo: True)
fromrepo: 'jessie-pgdg'

View file

@ -2,7 +2,7 @@
postgres:
use_upstream_repo: True
version: '9.5'
version: '10'
pkg: postgresql
pkgs_extra: []
pkg_client: postgresql-client
@ -48,6 +48,11 @@ postgres:
- ['host', 'all', 'all', '127.0.0.1/32', 'md5']
# IPv6 local connections:
- ['host', 'all', 'all', '::1/128', 'md5']
# Allow replication connections from localhost, by a user with the
# replication privilege.
- ['local', 'replication', 'all', 'peer']
- ['host', 'replication', 'all', '127.0.0.1/32', 'md5']
- ['host', 'replication', 'all', '::1/128', 'md5']
pg_ident.conf: salt://postgres/templates/pg_ident.conf.j2
identity_map: []