Skip to content

Commit 92e0ad3

Browse files
chore(version): bump to modern version
1 parent 9e145be commit 92e0ad3

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

pillar.example

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ postgres:
1010
# Set true to configure upstream postgresql.org repository for YUM/APT/ZYPP
1111
use_upstream_repo: false
1212
# Version to install from upstream repository (if upstream_repo: true)
13-
version: '10'
13+
version: '13'
1414
# Set true to add a file in /etc/profile.d adding the bin dir in $PATH
1515
# as packages from upstream put them somewhere like /usr/pgsql-10/bin
1616
add_profile: false
@@ -76,12 +76,15 @@ postgres:
7676
# The uppercase items must be replaced by actual values.
7777
# METHOD could be omitted, 'md5' will be appended by default.
7878
#
79+
# Postgres expect a valid CIDR for ADDRESS (not ipaddress)
80+
#
7981
# If ``acls`` item value is empty ('', [], null), then the contents of
8082
# ``pg_hba.conf`` file will not be touched at all.
8183
acls:
8284
- ['local', 'db0', 'connuser', 'peer map=users_as_appuser']
8385
- ['local', 'db1', 'localUser']
8486
- ['host', 'db2', 'remoteUser', '192.168.33.0/24']
87+
- ['host', 'all', 'all', '127.0.0.1/32', 'md5']
8588

8689
identity_map:
8790
- ['users_as_appuser', 'jdoe', 'connuser']

postgres/defaults.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
postgres:
77
use_upstream_repo: true
88
add_profile: false # add bin_dir to $PATH, if installed from repos
9-
version: '11'
9+
version: '13'
1010
pkg: postgresql
1111
pkgs_extra: []
1212
pkgs_deps: []

test/salt/pillar/postgres.sls

+1-5
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@ postgres:
1515
{%- else %}
1616
use_upstream_repo: True
1717
# Version to install from upstream repository (if upstream_repo: True)
18-
{%- if not (grains.os_family == 'Debian') %}
19-
version: '9.6'
20-
{%- else %}
21-
version: '10'
22-
{%- endif %}
18+
version: '13'
2319
# # Set True to add a file in /etc/profile.d adding the bin dir in $PATH
2420
# # as packages from upstream put them somewhere like /usr/pgsql-10/bin
2521
# add_profile: False

0 commit comments

Comments
 (0)