OP#203 add bouncer to installation
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
# @param [Boolean] pl_use_exporter whether to use the postgresql-exporter
|
||||
# @param [String] pl_install_dir the path for the postgres-exporter files
|
||||
# @param [String] pl_idle_timeout idle_in_transaction_session_timeout
|
||||
# @param [Boolean] pl_use_pg_bouncer whether to use the pc_bouncer
|
||||
##############################################################################
|
||||
class confdroid_postgresql::params (
|
||||
|
||||
@@ -34,6 +35,7 @@ class confdroid_postgresql::params (
|
||||
Array $reqpackages_server = ['postgresql-server','postgresql-contrib'],
|
||||
String $reqpackages_extensions = 'timescaledb',
|
||||
String $reqpackages_client = 'postgresql',
|
||||
String $reqpackages_bouncer = 'pgbouncer',
|
||||
String $pkg_ensure = 'latest',
|
||||
|
||||
# firewall
|
||||
@@ -58,7 +60,8 @@ class confdroid_postgresql::params (
|
||||
Boolean $pl_use_exporter = false,
|
||||
String $pl_install_dir = '/opt/postgres-exporter',
|
||||
|
||||
#
|
||||
# pg bouncer
|
||||
Boolean $pl_use_pg_bouncer = false,
|
||||
|
||||
) {
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
|
||||
Reference in New Issue
Block a user