Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppet: Postgres replication should always switch to latest timeline.
Alex Vandiverbff3b540b1a3
diff --git a/puppet/zulip/templates/postgresql/10/postgresql.conf.centos.template.erb b/puppet/zulip/templates/postgresql/10/postgresql.conf.centos.template.erbindex c47f4f0775d..5abfe5493a7 100644--- a/puppet/zulip/templates/postgresql/10/postgresql.conf.centos.template.erb+++ b/puppet/zulip/templates/postgresql/10/postgresql.conf.centos.template.erb@@ -701,6 +701,7 @@ archive_mode = onarchive_command = '/usr/local/bin/env-wal-g wal-push %p'# Replica settings (ignored on primary)+recovery_target_timeline = 'latest'hot_standby = on<% end -%>diff --git a/puppet/zulip/templates/postgresql/10/postgresql.conf.template.erb b/puppet/zulip/templates/postgresql/10/postgresql.conf.template.erbindex ef45101ea2f..d3a605df6c4 100644--- a/puppet/zulip/templates/postgresql/10/postgresql.conf.template.erb+++ b/puppet/zulip/templates/postgresql/10/postgresql.conf.template.erb@@ -701,6 +701,7 @@ archive_mode = onarchive_command = '/usr/local/bin/env-wal-g wal-push %p'# Replica settings (ignored on primary)+recovery_target_timeline = 'latest'hot_standby = on<% end -%>diff --git a/puppet/zulip/templates/postgresql/11/postgresql.conf.template.erb b/puppet/zulip/templates/postgresql/11/postgresql.conf.template.erbindex ef45101ea2f..d3a605df6c4 100644--- a/puppet/zulip/templates/postgresql/11/postgresql.conf.template.erb+++ b/puppet/zulip/templates/postgresql/11/postgresql.conf.template.erb@@ -701,6 +701,7 @@ archive_mode = onarchive_command = '/usr/local/bin/env-wal-g wal-push %p'# Replica settings (ignored on primary)+recovery_target_timeline = 'latest'hot_standby = on<% end -%>diff --git a/puppet/zulip/templates/postgresql/12/postgresql.conf.template.erb b/puppet/zulip/templates/postgresql/12/postgresql.conf.template.erbindex 87a5c0883d1..09b0b217557 100644--- a/puppet/zulip/templates/postgresql/12/postgresql.conf.template.erb+++ b/puppet/zulip/templates/postgresql/12/postgresql.conf.template.erb@@ -795,6 +795,7 @@ archive_mode = onarchive_command = '/usr/local/bin/env-wal-g wal-push %p'# Replica settings (ignored on primary)+recovery_target_timeline = 'latest'hot_standby = on<% end -%>diff --git a/puppet/zulip/templates/postgresql/9.5/postgresql.conf.template.erb b/puppet/zulip/templates/postgresql/9.5/postgresql.conf.template.erbindex aa03f8e7f2b..432f17c5fc7 100644--- a/puppet/zulip/templates/postgresql/9.5/postgresql.conf.template.erb+++ b/puppet/zulip/templates/postgresql/9.5/postgresql.conf.template.erb@@ -673,6 +673,7 @@ archive_mode = onarchive_command = '/usr/local/bin/env-wal-g wal-push %p'# Replica settings (ignored on primary)+recovery_target_timeline = 'latest'hot_standby = on<% end -%>diff --git a/puppet/zulip/templates/postgresql/9.6/postgresql.conf.template.erb b/puppet/zulip/templates/postgresql/9.6/postgresql.conf.template.erbindex ed5d56566fb..08cf43d2ec9 100644--- a/puppet/zulip/templates/postgresql/9.6/postgresql.conf.template.erb+++ b/puppet/zulip/templates/postgresql/9.6/postgresql.conf.template.erb@@ -686,6 +686,7 @@ archive_mode = onarchive_command = '/usr/local/bin/env-wal-g wal-push %p'# Replica settings (ignored on primary)+recovery_target_timeline = 'latest'hot_standby = on<% end -%>