Optionally include nginx.users via a pillar value
This commit is contained in:
		
							parent
							
								
									a0a272d819
								
							
						
					
					
						commit
						920ba9b1a4
					
				@ -1,6 +1,8 @@
 | 
			
		||||
include:
 | 
			
		||||
  - nginx.common
 | 
			
		||||
{% if pillar.get('nginx', {}).get('user_auth_enabled', true) %}
 | 
			
		||||
  - nginx.users
 | 
			
		||||
{% endif %}
 | 
			
		||||
{% if pillar.get('nginx', {}).get('install_from_source') %}
 | 
			
		||||
  - nginx.source
 | 
			
		||||
{% else %}
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,7 @@
 | 
			
		||||
nginx:
 | 
			
		||||
  install_from_source: True
 | 
			
		||||
  use_upstart: True
 | 
			
		||||
  user_auth_enabled: True
 | 
			
		||||
  with_luajit: False
 | 
			
		||||
  with_openresty: True
 | 
			
		||||
  modules:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user