Skip to content

Commit a8c1e9d

Browse files
Merge pull request #207 from vutny/fix-salt-2018.3-compat
Fix compatibility with Salt 2018.3.0
2 parents b51b592 + 15f3d5f commit a8c1e9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postgres/server/init.sls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ postgresql-pg_hba:
114114
- source: {{ postgres['pg_hba.conf'] }}
115115
- template: jinja
116116
- defaults:
117-
acls: {{ postgres.acls }}
117+
acls: {{ postgres.acls|yaml() }}
118118
{%- if postgres.config_backup %}
119119
# Create the empty file before managing to overcome the limitation of check_cmd
120120
- onlyif: test -f {{ pg_hba_path }} || touch {{ pg_hba_path }}
@@ -141,7 +141,7 @@ postgresql-pg_ident:
141141
- source: {{ postgres['pg_ident.conf'] }}
142142
- template: jinja
143143
- defaults:
144-
mappings: {{ postgres.identity_map }}
144+
mappings: {{ postgres.identity_map|yaml() }}
145145
{%- if postgres.config_backup %}
146146
# Create the empty file before managing to overcome the limitation of check_cmd
147147
- onlyif: test -f {{ pg_ident_path }} || touch {{ pg_ident_path }}

0 commit comments

Comments
 (0)