aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postgresql/templates
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mageia.org>2010-11-06 07:42:49 +0000
committerOlivier Thauvin <nanardon@mageia.org>2010-11-06 07:42:49 +0000
commita564ae8ecb413264e260f54d14a1dd440e7a0166 (patch)
tree31d0fde723b2e42bd75047ae8983a47b08bfc008 /modules/postgresql/templates
parent0fc76374f8bb51cd6e45bd9e630830760c357458 (diff)
downloadpuppet-a564ae8ecb413264e260f54d14a1dd440e7a0166.tar
puppet-a564ae8ecb413264e260f54d14a1dd440e7a0166.tar.gz
puppet-a564ae8ecb413264e260f54d14a1dd440e7a0166.tar.bz2
puppet-a564ae8ecb413264e260f54d14a1dd440e7a0166.tar.xz
puppet-a564ae8ecb413264e260f54d14a1dd440e7a0166.zip
- make 'psql -U postgres' as root working
Diffstat (limited to 'modules/postgresql/templates')
-rw-r--r--modules/postgresql/templates/pg_hba.conf2
-rw-r--r--modules/postgresql/templates/pg_ident.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/postgresql/templates/pg_hba.conf b/modules/postgresql/templates/pg_hba.conf
index 1ad0ec41..f2896f30 100644
--- a/modules/postgresql/templates/pg_hba.conf
+++ b/modules/postgresql/templates/pg_hba.conf
@@ -89,7 +89,7 @@ host transifex transifex 212.85.158.146/32 md5
host transifex transifex 2a02:2178:2:7::2/128 md5
# "local" is for Unix domain socket connections only
-local all all ident
+local all all ident map=local
# IPv4 local connections:
host all all 127.0.0.1/32 pam
# IPv6 local connections:
diff --git a/modules/postgresql/templates/pg_ident.conf b/modules/postgresql/templates/pg_ident.conf
index d2ed717f..e1adda10 100644
--- a/modules/postgresql/templates/pg_ident.conf
+++ b/modules/postgresql/templates/pg_ident.conf
@@ -40,4 +40,4 @@
# ----------------------------------
# MAPNAME SYSTEM-USERNAME PG-USERNAME
-any root postgres
+local root postgres