mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	puppet: Remove backups cron job if they are no longer enabled.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							44ff1c24df
						
					
				
				
					commit
					d726f87035
				
			@@ -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 disk
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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,
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user