More documentation touches.
This commit is contained in:
		
							parent
							
								
									7f27555a4b
								
							
						
					
					
						commit
						ffafd1e0d7
					
				@ -1,3 +1,7 @@
 | 
			
		||||
# nginx.ng.install
 | 
			
		||||
#
 | 
			
		||||
# Manages the main nginx server configuration file.
 | 
			
		||||
 | 
			
		||||
{% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}
 | 
			
		||||
 | 
			
		||||
nginx_config:
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,7 @@
 | 
			
		||||
# nginx.ng.install
 | 
			
		||||
#
 | 
			
		||||
# Manages installation of nginx.
 | 
			
		||||
 | 
			
		||||
{% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}
 | 
			
		||||
 | 
			
		||||
nginx_install:
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,7 @@
 | 
			
		||||
# nginx.ng.service
 | 
			
		||||
#
 | 
			
		||||
# Manages the nginx service.
 | 
			
		||||
 | 
			
		||||
{% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}
 | 
			
		||||
{% set service_function = {True:'running', False:'dead'}.get(nginx.service.enable) %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,7 @@
 | 
			
		||||
# nginx.ng.vhosts
 | 
			
		||||
#
 | 
			
		||||
# Manages virtual hosts and their relationship to the nginx service.
 | 
			
		||||
 | 
			
		||||
{% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}
 | 
			
		||||
{% from 'nginx/ng/vhosts_config.sls' import vhost_states with context %}
 | 
			
		||||
{% from 'nginx/ng/service.sls' import service_function with context %}
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,7 @@
 | 
			
		||||
# nginx.ng.vhosts_config
 | 
			
		||||
#
 | 
			
		||||
# Manages the configuration of virtual host files.
 | 
			
		||||
 | 
			
		||||
{% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}
 | 
			
		||||
{% set vhost_states = [] %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user