Sha256: 8da8a60fd281fa020b8cd0c75eac482c24297f91a379711c8994201ba2ee1bb3

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

node_id=<%= node_id %>
node_name='<%= node_name %>'
conninfo='host=<%= primary_host %> user=<%= primary_user %> dbname=<%= primary_database %> connect_timeout=2'
data_directory='/var/lib/postgresql/<%= postgres_version %>/main'

use_replication_slots=yes
monitoring_history=yes

service_start_command   = 'sudo /usr/bin/pg_ctlcluster <%= postgres_version %> main start'
service_stop_command    = 'sudo /usr/bin/pg_ctlcluster <%= postgres_version %> main stop'
service_restart_command = 'sudo /usr/bin/pg_ctlcluster <%= postgres_version %> main restart'
service_reload_command  = 'sudo /usr/bin/pg_ctlcluster <%= postgres_version %> main reload'
service_promote_command = 'sudo /usr/bin/pg_ctlcluster <%= postgres_version %> main promote'

promote_check_timeout = 15

failover=automatic
promote_command='/usr/bin/repmgr standby promote -f /etc/repmgr.conf --log-to-file'
follow_command='/usr/bin/repmgr standby follow -f /etc/repmgr.conf --log-to-file --upstream-node-id=%n'

log_file='/var/log/postgresql/repmgrd.log'

<% if use_barman? %>
barman_host='<%= barman_user %>@<%= barman_host %>'
barman_server='<%= barman_host %>'
restore_command='/usr/bin/barman-wal-restore <%= barman_host %> <%= barman_server %> %f %p'
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
caco-0.1.0 lib/caco/repmgr/view/conf.erb