add file control for pg_hba
This commit is contained in:
19
templates/pg_hba.conf.erb
Normal file
19
templates/pg_hba.conf.erb
Normal file
@@ -0,0 +1,19 @@
|
||||
################################################################################
|
||||
########## pg_hba.conf header generated by puppet ##########
|
||||
################################################################################
|
||||
# general syntax
|
||||
|
||||
# Type database user address method options
|
||||
|
||||
# "local" is for Unix domain socket connections only
|
||||
local all all trust
|
||||
# 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 md5
|
||||
host replication all 127.0.0.1/32 md5
|
||||
host replication all ::1/128 md5
|
||||
|
||||
Reference in New Issue
Block a user