mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	Now app.d is something that any app frontend will read, and we just have secondary manifests add additional files to the app.d directory for custom stuff. This fixes the issue that we were incorrectly including the lb0-related app configuration in the enterprise version. (imported from commit dec8dcdf2506b82e51186ff936c26dc1cd6cf61b)
		
			
				
	
	
		
			23 lines
		
	
	
		
			752 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			752 B
		
	
	
	
		
			Puppet
		
	
	
	
	
	
class zulip_internal::app_frontend {
 | 
						|
  include zulip::app_frontend
 | 
						|
  $app_packages = [# Needed for minify-js
 | 
						|
                   "yui-compressor",
 | 
						|
                   "nodejs",
 | 
						|
                   # Needed for statsd reporting
 | 
						|
                   "python-django-statsd-mozilla",
 | 
						|
                   # Needed only for a disabled integration
 | 
						|
                   "python-embedly",
 | 
						|
                   ]
 | 
						|
  package { $app_packages: ensure => "installed" }
 | 
						|
 | 
						|
  file { "/etc/nginx/zulip-include/app.d/accept-loadbalancer.conf":
 | 
						|
    require => Package["nginx-full"],
 | 
						|
    owner  => "root",
 | 
						|
    group  => "root",
 | 
						|
    mode => 644,
 | 
						|
    source => "puppet:///modules/zulip_internal/nginx/zulip-include-app.d/accept-loadbalancer.conf",
 | 
						|
    notify => Service["nginx"],
 | 
						|
  }
 | 
						|
 | 
						|
}
 |