3
0
This commit is contained in:
12ww1160
2025-12-05 15:42:47 +01:00
parent 64c8d080c3
commit c70a12cd8f
2 changed files with 3 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ define confdroid_postgresql::bouncer::bouncer_rule (
concat::fragment { "pl_bouncer_rule_${name}":
target => $pl_bouncer_ini_file,
content => template($pl_bouncer_ini_erb),
content => template($pl_bouncer_rule_erb),
order => $pl_bouncer_order,
}
}

View File

@@ -93,9 +93,10 @@ class confdroid_postgresql::params (
$pl_pg_hba_rule_conf = 'confdroid_postgresql/server/pghba/pg_hba_rule.conf.erb'
$pl_pg_hba_conf_erb = 'confdroid_postgresql/server/pghba/pg_hba.conf.erb'
$pl_bouncer_ini_file = "${pl_bouncer_dir}/pgbouncer.ini"
$pl_bouncer_ini_erb = 'confdroid_postgresql/server/bouncer/pgbouncer_rule.erb'
$pl_bouncer_ini_erb = 'confdroid_postgresql/server/bouncer/pgbouncer.ini.erb'
$pl_bouncer_auth_file = "${pl_bouncer_dir}/userlist.txt"
$pl_bouncer_auth_erb = 'confdroid_postgresql/server/bouncer/bouncer_users.erb'
$pl_bouncer_rule_erb = 'confdroid_postgresql/server/bouncer/bouncer_rule.erb'
# Service
$pl_service = 'postgresql'