Puppet Class: postgresql::streaming_replication
- Inherits:
- postgresql::params
- Defined in:
- manifests/streaming_replication.pp
Overview
compatibility - please use postgresql::recoveryconf instead
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'manifests/streaming_replication.pp', line 4
class postgresql::streaming_replication (
$masterhost = undef,
$masterusername = undef,
$masterpassword = undef,
$masterport = $postgresql::params::port_default,
$datadir = $postgresql::datadir,
$restore_command = undef,
$archive_cleanup_command = undef,
$recovery_min_apply_delay = undef,
$primary_slot_name = undef,
) inherits postgresql::params {
class { 'postgresql::recoveryconf':
masterhost => $masterhost,
masterusername => $masterusername,
masterpassword => $masterpassword,
masterport => $masterport,
datadir => $datadir,
restore_command => $restore_command,
archive_cleanup_command => $archive_cleanup_command,
recovery_min_apply_delay => $recovery_min_apply_delay,
primary_slot_name => $primary_slot_name,
}
}
|