commit | dd1dc2da90dcc4e17a576f1d7808e1f27f917e8a | [log] [tgz] |
---|---|---|
author | Michael Kutý <6du1ro.n@gmail.com> | Thu Oct 13 20:15:17 2016 +0200 |
committer | Michael Kutý <6du1ro.n@gmail.com> | Thu Oct 13 20:15:17 2016 +0200 |
tree | 4ea11b48a4257a2aae486e7b1712674093c22329 | |
parent | 1769c11aa9e1ff645d27a7487633e2d14bbf2d18 [diff] |
Support custom mask.
diff --git a/postgresql/files/pg_hba.conf b/postgresql/files/pg_hba.conf index 4dd8b33..3a17f12 100644 --- a/postgresql/files/pg_hba.conf +++ b/postgresql/files/pg_hba.conf
@@ -94,7 +94,7 @@ {%- for client in server.clients %} {%- if client != '127.0.0.1' %} -host all all {{ client }}/32 md5 +host all all {%- if "/" in client %}{{ client }}{%- else %}{{ client }}/32{%- endif %} md5 {%- endif %} {%- endfor %}