mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-15 17:20:25 +00:00
Edit pg_hba template to work with jinja 'trim whitespaces' option on the master.
This commit is contained in:
parent
096293be22
commit
a302d61059
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ local all postgres peer
|
|||
|
||||
# TYPE DATABASE USER ADDRESS METHOD
|
||||
|
||||
{%- for acl in acls %}
|
||||
{% for acl in acls %}
|
||||
{%- if acl|first() == 'local' %}
|
||||
|
||||
{%- if acl|length() == 3 %}
|
||||
|
@ -36,5 +36,5 @@ local all postgres peer
|
|||
{%- endif %}
|
||||
|
||||
{%- endif %}
|
||||
{{ '{0:<7} {1:<15} {2:<15} {3:<23} {4}'.format(*acl) -}}
|
||||
{{ '{0:<7} {1:<15} {2:<15} {3:<23} {4}'.format(*acl) }}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Reference in a new issue