mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 20:13:46 +00:00 
			
		
		
		
	puppet: Check in defensive restart-camo cron job.
This was found on lb1; add it to the camo install on smokescreen.
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							17bae43052
						
					
				
				
					commit
					173d2dec3d
				
			
							
								
								
									
										1
									
								
								puppet/zulip_ops/files/cron.d/camo
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								puppet/zulip_ops/files/cron.d/camo
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | |||||||
|  | * * * * * root /bin/bash -c '(pgrep -u nobody -f camo || /etc/init.d/camo restart) 2>&1 >>/var/log/camo/restart-log' | ||||||
							
								
								
									
										11
									
								
								puppet/zulip_ops/manifests/camo.pp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								puppet/zulip_ops/manifests/camo.pp
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | |||||||
|  | class zulip_ops::camo { | ||||||
|  |   include zulip::camo | ||||||
|  |  | ||||||
|  |   file { '/etc/cron.d/camo': | ||||||
|  |     ensure => file, | ||||||
|  |     owner  => 'root', | ||||||
|  |     group  => 'root', | ||||||
|  |     mode   => '0644', | ||||||
|  |     source => 'puppet:///modules/zulip_ops/cron.d/camo', | ||||||
|  |   } | ||||||
|  | } | ||||||
| @@ -3,7 +3,7 @@ | |||||||
| class zulip_ops::profile::smokescreen { | class zulip_ops::profile::smokescreen { | ||||||
|   include zulip_ops::profile::base |   include zulip_ops::profile::base | ||||||
|   include zulip::supervisor |   include zulip::supervisor | ||||||
|   include zulip::camo |   include zulip_ops::camo | ||||||
|  |  | ||||||
|   $golang_version = '1.14.10' |   $golang_version = '1.14.10' | ||||||
|   zulip::sha256_tarball_to { 'golang': |   zulip::sha256_tarball_to { 'golang': | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user