3
0
This commit is contained in:
Arne Teuke
2025-10-01 15:56:49 +02:00
parent e3bd0e4265
commit 01737207e5

View File

@@ -4,12 +4,12 @@
# @summary Class manages pg_hba.conf file and line entries through define
# pg_hba_rule.pp
# @example postgresql_cd::server::pghba::pg_hba_rule { 'local access for role postgres':
# psql_auth_type => 'local',
# psql_auth_database => 'all',
# psql_auth_user => 'postgres',
# psql_auth_method => 'trust',
# psql_auth_order => '001',
# psql_auth_option => '',
# pl_auth_type => 'local',
# pl_auth_database => 'all',
# pl_auth_user => 'postgres',
# pl_auth_method => 'trust',
# pl_auth_order => '001',
# pl_auth_option => '',
# }
##############################################################################
class postgresql_cd::server::pghba::pg_hba (
@@ -35,21 +35,21 @@ class postgresql_cd::server::pghba::pg_hba (
# manage default rules => should go into external config set
# postgresql_cd::server::pghba::pg_hba_rule { 'local access for role postgres':
# psql_auth_type => 'local',
# psql_auth_database => 'all',
# psql_auth_user => $ql_user_name,
# psql_auth_method => 'trust',
# psql_auth_order => '001',
# psql_auth_option => $ql_auth_option,
# pl_auth_type => 'local',
# pl_auth_database => 'all',
# pl_auth_user => $ql_user_name,
# pl_auth_method => 'trust',
# pl_auth_order => '001',
# pl_auth_option => $ql_auth_option,
# }
# postgresql_cd::server::pghba::pg_hba_rule { 'local access for all roles':
# psql_auth_type => 'local',
# psql_auth_database => 'all',
# psql_auth_user => 'all',
# psql_auth_method => 'trust',
# psql_auth_order => '002',
# psql_auth_option => $pl_auth_option,
# pl_auth_type => 'local',
# pl_auth_database => 'all',
# pl_auth_user => 'all',
# pl_auth_method => 'trust',
# pl_auth_order => '002',
# pl_auth_option => $pl_auth_option,
# }
}
}