Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
puppet: Remove backups cron job if they are no longer enabled.
Alex Vandiverd726f87035ac
diff --git a/docs/production/export-and-import.md b/docs/production/export-and-import.mdindex 76ad5f0a8f1..a40624cdcbb 100644--- a/docs/production/export-and-import.md+++ b/docs/production/export-and-import.md@@ -556,8 +556,8 @@ day.```You may also want to adjust the-[concurrency](system-configuration.md#backups-disk-concurrency) or [S3 storage-class](system-configuration.md#backups-storage-class).+[concurrency](system-configuration.md#backups_disk_concurrency) or [S3 storage+class](system-configuration.md#backups_storage_class).### Streaming backups to local diskdiff --git a/puppet/zulip/manifests/postgresql_base.pp b/puppet/zulip/manifests/postgresql_base.ppindex 9152d6ce872..3ae241d4e78 100644--- a/puppet/zulip/manifests/postgresql_base.pp+++ b/puppet/zulip/manifests/postgresql_base.pp@@ -104,5 +104,9 @@ class zulip::postgresql_base {$backups_directory = zulipconf('postgresql', 'backups_directory', '')if $backups_s3_bucket != '' or $backups_directory != '' {include zulip::postgresql_backups+ } else {+ file { '/etc/cron.d/pg_backup_and_purge':+ ensure => absent,+ }}}