Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

puppet: Stop distributing recovery.conf file.

Alex Vandiverf39816e7680a
diff --git a/puppet/zulip_ops/files/postgresql/recovery.conf b/puppet/zulip_ops/files/postgresql/recovery.conf
deleted file mode 100644
index 9bc6bf887eb..00000000000
--- a/puppet/zulip_ops/files/postgresql/recovery.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-standby_mode = on
-primary_conninfo = 'host=postgres3.zulipchat.net user=replicator'
-restore_command = '/usr/local/bin/env-wal-g wal-fetch "%f" "%p"'
diff --git a/puppet/zulip_ops/manifests/postgres_slave.pp b/puppet/zulip_ops/manifests/postgres_slave.pp
index fc76e4f253a..32da9944158 100644
--- a/puppet/zulip_ops/manifests/postgres_slave.pp
+++ b/puppet/zulip_ops/manifests/postgres_slave.pp
@@ -2,14 +2,6 @@ class zulip_ops::postgres_slave {
include zulip_ops::base
include zulip_ops::postgres_appdb
- file { "${zulip::postgres_appdb_base::postgres_confdir}/recovery.conf":
- ensure => file,
- require => Package["postgresql-${zulip::base::postgres_version}"],
- owner => 'postgres',
- group => 'postgres',
- mode => '0644',
- source => 'puppet:///modules/zulip_ops/postgresql/recovery.conf',
- }
file { '/etc/sysctl.d/40-postgresql.conf':
ensure => file,
owner => 'root',