File: recovery.conf.epp

package info (click to toggle)
puppet-module-puppetlabs-postgresql 10.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 940 kB
  • sloc: ruby: 731; sh: 66; makefile: 2
file content (64 lines) | stat: -rw-r--r-- 2,081 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<%- |
  Optional[String]    $restore_command,
  Optional[String[1]] $archive_cleanup_command,
  Optional[String[1]] $recovery_end_command,
  Optional[String[1]] $recovery_target_name,
  Optional[String[1]] $recovery_target_time,
  Optional[String[1]] $recovery_target_xid,
  Optional[Boolean]   $recovery_target_inclusive,
  Optional[String[1]] $recovery_target,
  Optional[String[1]] $recovery_target_timeline,
  Optional[Boolean]   $pause_at_recovery_target,
  Optional[String[1]] $standby_mode,
  Optional[String[1]] $primary_conninfo,
  Optional[String[1]] $primary_slot_name,
  Optional[String[1]] $trigger_file,
  Optional[Integer]   $recovery_min_apply_delay,
| -%>
<% if $restore_command { -%>
restore_command = '<%= $restore_command %>'
<% } -%>
<% if $archive_cleanup_command { -%>
archive_cleanup_command = '<%= $archive_cleanup_command %>'
<% } -%>
<% if $recovery_end_command { -%>
recovery_end_command = '<%= $recovery_end_command %>'
<% } -%>

<% if $recovery_target_name { -%>
recovery_target_name = '<%= $recovery_target_name %>'
<% } -%>
<% if $recovery_target_time { -%>
recovery_target_time = '<%= $recovery_target_time %>'
<% } -%>
<% if $recovery_target_xid { -%>
recovery_target_xid = '<%= $recovery_target_xid %>'
<% } -%>
<% if $recovery_target_inclusive { -%>
recovery_target_inclusive = <%= $recovery_target_inclusive %>
<% } -%>
<% if $recovery_target { -%>
recovery_target = '<%= $recovery_target %>'
<% } -%>
<% if $recovery_target_timeline { -%>
recovery_target_timeline = '<%= $recovery_target_timeline %>'
<% } -%>
<% if $pause_at_recovery_target { -%>
pause_at_recovery_target = <%= $pause_at_recovery_target %>
<% } -%>

<% if $standby_mode { -%>
standby_mode = <%= $standby_mode %>
<% } -%>
<% if $primary_conninfo { -%>
primary_conninfo = '<%= $primary_conninfo  %>'
<% } -%>
<% if $primary_slot_name { -%>
primary_slot_name = '<%= $primary_slot_name %>'
<% } -%>
<% if $trigger_file { -%>
trigger_file = '<%= $trigger_file %>'
<% } -%>
<% if $recovery_min_apply_delay { -%>
recovery_min_apply_delay = <%= $recovery_min_apply_delay %>
<% } -%>