Skip to content

Commit 656dc4b

Browse files
Merge pull request #244 from bebosudo/bebosudo_whitespaces_hba
Edit pg_hba template to work with jinja 'trim whitespaces' option on salt master
2 parents 5108b88 + a302d61 commit 656dc4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postgres/templates/pg_hba.conf.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ local all postgres peer
2020

2121
# TYPE DATABASE USER ADDRESS METHOD
2222

23-
{%- for acl in acls %}
23+
{% for acl in acls %}
2424
{%- if acl|first() == 'local' %}
2525

2626
{%- if acl|length() == 3 %}
@@ -36,5 +36,5 @@ local all postgres peer
3636
{%- endif %}
3737

3838
{%- endif %}
39-
{{ '{0:<7} {1:<15} {2:<15} {3:<23} {4}'.format(*acl) -}}
39+
{{ '{0:<7} {1:<15} {2:<15} {3:<23} {4}'.format(*acl) }}
4040
{% endfor %}

0 commit comments

Comments
 (0)