mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 09:40:26 +00:00
Merge pull request #222 from myii/PR_psql10_acls
Enable replication connections by default in `pg_hba.conf`
This commit is contained in:
commit
aa91079a3c
2 changed files with 7 additions and 2 deletions
|
@ -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'
|
||||
|
|
|
@ -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: []
|
||||
|
|
Loading…
Add table
Reference in a new issue