diff --git a/puppet/zulip/templates/postgresql/10/postgresql.conf.centos.template.erb b/puppet/zulip/templates/postgresql/10/postgresql.conf.centos.template.erb index 987883b0d2..ed7a6bc298 100644 --- a/puppet/zulip/templates/postgresql/10/postgresql.conf.centos.template.erb +++ b/puppet/zulip/templates/postgresql/10/postgresql.conf.centos.template.erb @@ -693,7 +693,7 @@ effective_io_concurrency = <%= @effective_io_concurrency %> listen_addresses = <%= @listen_addresses %> <% end -%> -<% if @replication != '' -%> +<% if @s3_backups_bucket != '' -%> # Primary replication settings (ignored on replica) wal_level = hot_standby max_wal_senders = 5 diff --git a/puppet/zulip/templates/postgresql/10/postgresql.conf.template.erb b/puppet/zulip/templates/postgresql/10/postgresql.conf.template.erb index b00d45f27d..a47e3cbe33 100644 --- a/puppet/zulip/templates/postgresql/10/postgresql.conf.template.erb +++ b/puppet/zulip/templates/postgresql/10/postgresql.conf.template.erb @@ -693,7 +693,7 @@ effective_io_concurrency = <%= @effective_io_concurrency %> listen_addresses = <%= @listen_addresses %> <% end -%> -<% if @replication != '' -%> +<% if @s3_backups_bucket != '' -%> # Primary replication settings (ignored on replica) wal_level = hot_standby max_wal_senders = 5 diff --git a/puppet/zulip/templates/postgresql/11/postgresql.conf.template.erb b/puppet/zulip/templates/postgresql/11/postgresql.conf.template.erb index b00d45f27d..a47e3cbe33 100644 --- a/puppet/zulip/templates/postgresql/11/postgresql.conf.template.erb +++ b/puppet/zulip/templates/postgresql/11/postgresql.conf.template.erb @@ -693,7 +693,7 @@ effective_io_concurrency = <%= @effective_io_concurrency %> listen_addresses = <%= @listen_addresses %> <% end -%> -<% if @replication != '' -%> +<% if @s3_backups_bucket != '' -%> # Primary replication settings (ignored on replica) wal_level = hot_standby max_wal_senders = 5