fix pg_hba_rule for postgres local access
This commit is contained in:
parent
cb1a751fed
commit
7a8f7ace59
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ class postgresql::config::beforeservice(
|
||||||
# Lets setup the base rules
|
# Lets setup the base rules
|
||||||
postgresql::pg_hba_rule { 'local access as postgres user':
|
postgresql::pg_hba_rule { 'local access as postgres user':
|
||||||
type => 'local',
|
type => 'local',
|
||||||
|
user => 'postgres',
|
||||||
auth_method => 'ident',
|
auth_method => 'ident',
|
||||||
auth_option => $postgresql::params::version ? {
|
auth_option => $postgresql::params::version ? {
|
||||||
'8.1' => 'sameuser',
|
'8.1' => 'sameuser',
|
||||||
|
|
Loading…
Reference in a new issue