add file control for postgresql.conf
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
# @param [string] pl_fw_port the port to use for service and firewall
|
||||
# @param [string] pl_source_range the source range for allowed clients
|
||||
# @param [boolean] pl_enable_fw whether to enable the firewall
|
||||
# @param [string] pl_listen_address which address should the service listen on
|
||||
# @summary Class contains all parameters for the postgresql_cd module.
|
||||
##############################################################################
|
||||
class postgresql_cd::params (
|
||||
@@ -28,6 +29,9 @@ class postgresql_cd::params (
|
||||
String $pl_source_range = '0.0.0.0/0',
|
||||
Boolean $pl_enable_fw = true,
|
||||
|
||||
# main config
|
||||
String $pl_listen_address = '*',
|
||||
|
||||
) {
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
$domain = $facts['networking']['domain']
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
# - Connection Settings -
|
||||
|
||||
#listen_addresses = 'localhost' # what IP address(es) to listen on;
|
||||
listen_addresses = '<%= @pl_listen_address %>' # what IP address(es) to listen on;
|
||||
# comma-separated list of addresses;
|
||||
# defaults to 'localhost'; use '*' for all
|
||||
# (change requires restart)
|
||||
@@ -548,7 +548,7 @@ log_rotation_size = 0 # Automatic rotation of logfiles will
|
||||
# %q = stop here in non-session
|
||||
# processes
|
||||
# %% = '%'
|
||||
# e.g. '<%u%%%d>'
|
||||
# e.g. '<<%u%%%d>'
|
||||
#log_lock_waits = off # log lock waits >= deadlock_timeout
|
||||
#log_parameter_max_length = -1 # when logging statements, limit logged
|
||||
# bind-parameter values to N bytes;
|
||||
|
||||
Reference in New Issue
Block a user