update postgresql.conf with SSL settings
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
# @param [String] pl_listen_address which address should the service listen on
|
||||
# @param [String] pl_listen_port which port should the service listen on
|
||||
# @param [String] pl_max_conn maximum connections the service will accept
|
||||
# @param [Boolean] pl_ssl_enabled whether SSL is enabled (true) or disabled (false)
|
||||
# @param [String] pl_server_crt the name of the server cert
|
||||
# @param [String] pl_server_key the name of the server key
|
||||
# @param [String] pl_ca_crt the name of the CA crt
|
||||
# @summary Class contains all parameters for the postgresql_cd module.
|
||||
##############################################################################
|
||||
class postgresql_cd::params (
|
||||
@@ -21,7 +25,7 @@ class postgresql_cd::params (
|
||||
String $pl_server_fqdn = undef,
|
||||
|
||||
# installation
|
||||
Array $reqpackages_server = ['postgresql-server','postgresql-contrib'],
|
||||
Array $reqpackages_server = ['postgresql-server','postgresql-contrib'],
|
||||
String $reqpackages_client = 'postgresql',
|
||||
String $pkg_ensure = 'latest',
|
||||
|
||||
@@ -34,7 +38,11 @@ class postgresql_cd::params (
|
||||
# main config
|
||||
String $pl_listen_address = '*',
|
||||
String $pl_listen_port = '5432',
|
||||
String $pl_max_conn = '100',
|
||||
String $pl_max_conn = '100',
|
||||
Boolean $pl_ssl_enabled = false,
|
||||
String $pl_server_crt = 'server.crt',
|
||||
String $pl_server_key = 'server.key',
|
||||
String $pl_ca_crt = 'root.crt',
|
||||
|
||||
) {
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
|
||||
Reference in New Issue
Block a user