From 15f3d5f5b46a5a495787862d095b186b66563d18 Mon Sep 17 00:00:00 2001 From: Denys Havrysh Date: Wed, 11 Apr 2018 16:43:11 +0300 Subject: [PATCH] Fix compatibility with Salt 2018.3.0 --- postgres/server/init.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/postgres/server/init.sls b/postgres/server/init.sls index daf9d1b..da744fa 100644 --- a/postgres/server/init.sls +++ b/postgres/server/init.sls @@ -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 }}