Puppet Class: postgresql::streaming_replication

Inherits:
postgresql::params
Defined in:
manifests/streaming_replication.pp

Overview

compatibility - please use postgresql::recoveryconf instead

Parameters:

  • masterhost (Any) (defaults to: undef)
  • masterusername (Any) (defaults to: undef)
  • masterpassword (Any) (defaults to: undef)
  • masterport (Any) (defaults to: $postgresql::params::port_default)
  • datadir (Any) (defaults to: $postgresql::datadir)
  • restore_command (Any) (defaults to: undef)
  • archive_cleanup_command (Any) (defaults to: undef)
  • recovery_min_apply_delay (Any) (defaults to: undef)
  • primary_slot_name (Any) (defaults to: undef)


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,
  }
}