3
0
This commit is contained in:
Arne Teuke
2025-10-01 13:57:29 +02:00
parent 5ad8d5a244
commit e3bd0e4265
3 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1,22 @@
################################################################################
########## 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 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 md5
host replication all 127.0.0.1/32 md5
host replication all ::1/128 md5
host all all 0.0.0.0/0 md5
# custom rules below

View File

@@ -0,0 +1,3 @@
# description: <%=@name%>
# order number: <%=@pl_auth_order%>
<%= @pl_auth_type %> <%= @pl_auth_database %> <%= @pl_auth_user %> <%= @pl_auth_address %> <%=@pl_auth_method %> <%=@psql_auth_option%>