mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 09:40:26 +00:00
Fix compatibility with Salt 2018.3.0
This commit is contained in:
parent
b51b592a99
commit
15f3d5f5b4
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ postgresql-pg_hba:
|
|||
- source: {{ postgres['pg_hba.conf'] }}
|
||||
- template: jinja
|
||||
- defaults:
|
||||
acls: {{ postgres.acls }}
|
||||
acls: {{ postgres.acls|yaml() }}
|
||||
{%- if postgres.config_backup %}
|
||||
# Create the empty file before managing to overcome the limitation of check_cmd
|
||||
- onlyif: test -f {{ pg_hba_path }} || touch {{ pg_hba_path }}
|
||||
|
@ -141,7 +141,7 @@ postgresql-pg_ident:
|
|||
- source: {{ postgres['pg_ident.conf'] }}
|
||||
- template: jinja
|
||||
- defaults:
|
||||
mappings: {{ postgres.identity_map }}
|
||||
mappings: {{ postgres.identity_map|yaml() }}
|
||||
{%- if postgres.config_backup %}
|
||||
# Create the empty file before managing to overcome the limitation of check_cmd
|
||||
- onlyif: test -f {{ pg_ident_path }} || touch {{ pg_ident_path }}
|
||||
|
|
Loading…
Add table
Reference in a new issue