2025-12-04 19:49:59 +01:00
|
|
|
## confdroid_postgresql::main::config.pp
|
|
|
|
|
# Module name: confdroid_postgresql
|
2025-12-05 14:22:43 +01:00
|
|
|
# Author: 12ww1160 (12ww1160@confdroid.com)
|
2025-12-04 19:49:59 +01:00
|
|
|
# @summary Class manages logic for the confdroid_postgresql module.
|
2025-04-18 21:47:50 +02:00
|
|
|
##############################################################################
|
2025-12-04 19:49:59 +01:00
|
|
|
class confdroid_postgresql::main::config (
|
2025-04-18 21:47:50 +02:00
|
|
|
|
2025-12-04 19:49:59 +01:00
|
|
|
) inherits confdroid_postgresql::params {
|
2025-12-05 14:02:54 +01:00
|
|
|
require confdroid_postgresql::main::install
|
2025-09-28 15:55:34 +02:00
|
|
|
|
|
|
|
|
if $fqdn == $pl_server_fqdn {
|
2025-12-04 19:49:59 +01:00
|
|
|
include confdroid_postgresql::server::service
|
2025-12-05 14:02:54 +01:00
|
|
|
if $pl_use_pg_bouncer == true {
|
|
|
|
|
include confdroid_postgresql::bouncer::service
|
|
|
|
|
}
|
2025-09-28 15:55:34 +02:00
|
|
|
}
|
2025-04-18 21:47:50 +02:00
|
|
|
}
|