X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fpostgres%2Ftemplates%2Fcluster%2Fpg_hba.conf-head.erb;fp=modules%2Fpostgres%2Ftemplates%2Fcluster%2Fpg_hba.conf-head.erb;h=f899cf1daf1ae06e3c20ba3ce8740c8eb2a40b03;hb=6d314df91bf2f73b895e096dde7eb882d4653904;hp=0000000000000000000000000000000000000000;hpb=700ff9b34f1c3182776b0fc8c0e8e77265194ede;p=mirror%2Fdsa-puppet.git diff --git a/modules/postgres/templates/cluster/pg_hba.conf-head.erb b/modules/postgres/templates/cluster/pg_hba.conf-head.erb new file mode 100644 index 000000000..f899cf1da --- /dev/null +++ b/modules/postgres/templates/cluster/pg_hba.conf-head.erb @@ -0,0 +1,22 @@ +# PostgreSQL Client Authentication Configuration File +# =================================================== +# maintained via puppet + +# default entries allows local access: +###################################### +# Database administrative login by Unix domain socket +local all postgres peer + +# "local" is for Unix domain socket connections only +local all all peer +# IPv4 local connections: +host all all 127.0.0.1/32 md5 +# IPv6 local connections: +host all all ::1/128 md5 +# Allow replication connections from localhost, by a user with the +# replication privilege. +local replication all peer +host replication all 127.0.0.1/32 md5 +host replication all ::1/128 md5 +###################################### +