More documentation touches.

This commit is contained in:
Chad Heuschober 2014-05-19 13:22:51 -04:00
parent 7f27555a4b
commit ffafd1e0d7
5 changed files with 8 additions and 0 deletions

View File

@ -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:

View File

@ -1,6 +1,7 @@
# nginx.ng.install
#
# Manages installation of nginx.
{% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}
nginx_install:

View File

@ -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) %}

View File

@ -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 %}

View File

@ -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 = [] %}