vendor/ANXS.postgresql/templates/pg_hba.conf.j2 in taperole-1.3.6 vs vendor/ANXS.postgresql/templates/pg_hba.conf.j2 in taperole-1.4.0
- old
+ new
@@ -16,11 +16,13 @@
#
# TYPE DATABASE USER ADDRESS METHOD
# Default:
{% for connection in postgresql_pg_hba_default %}
+{% if connection.comment is defined %}
# {{connection.comment}}
+{% endif %}
{{connection.type}} {{connection.database}} {{connection.user}} {{connection.address}} {{connection.method}}
{% endfor %}
# Password hosts
{% for host in postgresql_pg_hba_passwd_hosts %}
@@ -32,8 +34,10 @@
host all all {{host}} trust
{% endfor %}
# User custom
{% for connection in postgresql_pg_hba_custom %}
+{% if connection.comment is defined %}
# {{connection.comment}}
+{% endif %}
{{connection.type}} {{connection.database}} {{connection.user}} {{connection.address}} {{connection.method}}
{% endfor %}