diff --git a/pillar.example b/pillar.example index 766b004..1f5162e 100644 --- a/pillar.example +++ b/pillar.example @@ -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' diff --git a/postgres/defaults.yaml b/postgres/defaults.yaml index 3814265..f230b33 100644 --- a/postgres/defaults.yaml +++ b/postgres/defaults.yaml @@ -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: []