From 2d1add629203c3a79ecf72e0f9a116028df1424c Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 21 Feb 2011 15:20:07 +0000 Subject: - adapt the list of database to the setup of forum --- modules/postgresql/templates/pg_hba.conf | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/postgresql/templates/pg_hba.conf b/modules/postgresql/templates/pg_hba.conf index adc68768..2128fc68 100644 --- a/modules/postgresql/templates/pg_hba.conf +++ b/modules/postgresql/templates/pg_hba.conf @@ -84,7 +84,7 @@ # FIXME ip v6 is hardcoded, facter do not seems to support # fetch it -db = ['epoll','mirrors','transifex','bugs','sympa','phpbb'] +db = ['epoll','mirrors','transifex','bugs','sympa'] for i in db %> host <%= i %> <%= i %> 127.0.0.1/32 md5 @@ -94,9 +94,20 @@ hostssl <%= i %> <%= i %> 2a02:2178:2:7::2/128 md5 <% end %> -# temporary, for the forum on friteuse vm -hostssl phpbb phpbb 192.168.122.0/24 md5 +<% +lang = ['en'] +for l in lang +%> +host phpbb_<%= l %> phpbb 127.0.0.1/32 md5 +host phpbb_<%= l %> phpbb ::1/128 md5 +hostssl phpbb_<%= l %> phpbb <%= ipaddress %>/32 md5 +hostssl phpbb_<%= l %> phpbb 2a02:2178:2:7::2/128 md5 +# temporary, for the forum on friteuse vm +hostssl phpbb_<%= l %> phpbb 192.168.122.0/24 md5 +<% +end +%> # When creating the database ( with bin/checkstup.pl ) bugzilla need to # access to template1 ( https://bugzilla.mozilla.org/show_bug.cgi?id=542507 ) host template1 bugs 127.0.0.1/32 md5 -- cgit v1.2.1