Puppet Class: pgpool::config::service
- Defined in:
- manifests/config/service.pp
Overview
Class: pgpool::config::service
This configures service related configuration items for pgpool in the pgpool.conf
Parameters
- pid_file_name
-
String. This is the location of the pid file for the pgpool process. Defaults to
/var/run/pgpool.pid
. - logdir
-
String. This is the log directory for the pgpool process. Defaults to
/var/log/pgpool
.
Variables
N/A
Examples
N/A
Authors
Alex Schultz <aschultz@next-development.com>
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'manifests/config/service.pp', line 28
class pgpool::config::service (
$pid_file_name = '/var/run/pgpool-II-93.pid',
$logdir = '/var/log/pgpool-II-93',
) {
$service_config = {
'pid_file_name' => { value => $pid_file_name },
'logdir' => { value => $logdir },
}
$service_defaults = {
ensure => present
}
create_resources(pgpool::config::val, $service_config, $service_defaults)
}
|