Merge branch 'postgresql-pga' into 'master'

Add replication pg_hba.conf entry

PostgreSQL needs a specific replication entry in pg_hba.conf for wal replication to work.

See merge request !545
This commit is contained in:
Marin Jankovski 2015-11-25 15:26:20 +00:00 committed by Marin Jankovski
parent a0fb8b33b9
commit 7e32b1f96a
1 changed files with 1 additions and 0 deletions

View File

@ -75,5 +75,6 @@ host all all <%= cidr %> trust
<% node['gitlab']['postgresql']['md5_auth_cidr_addresses'].each do |cidr| %>
host all all <%= cidr %> md5
host replication <%= node['gitlab']['postgresql']['sql_replication_user'] %> <%= cidr %> md5
<% end %>