Browse Source

More documentation touches.

susefix
Chad Heuschober 10 years ago
parent
commit
ffafd1e0d7
5 changed files with 8 additions and 0 deletions
  1. +4
    -0
      nginx/ng/config.sls
  2. +1
    -0
      nginx/ng/install.sls
  3. +1
    -0
      nginx/ng/service.sls
  4. +1
    -0
      nginx/ng/vhosts.sls
  5. +1
    -0
      nginx/ng/vhosts_config.sls

+ 4
- 0
nginx/ng/config.sls View File

# nginx.ng.install
#
# Manages the main nginx server configuration file.

{% from 'nginx/ng/map.jinja' import nginx, sls_block with context %} {% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}


nginx_config: nginx_config:

+ 1
- 0
nginx/ng/install.sls View File

# nginx.ng.install # nginx.ng.install
# #
# Manages installation of nginx. # Manages installation of nginx.

{% from 'nginx/ng/map.jinja' import nginx, sls_block with context %} {% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}


nginx_install: nginx_install:

+ 1
- 0
nginx/ng/service.sls View File

# nginx.ng.service # nginx.ng.service
# #
# Manages the nginx service. # Manages the nginx service.

{% from 'nginx/ng/map.jinja' import nginx, sls_block with context %} {% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}
{% set service_function = {True:'running', False:'dead'}.get(nginx.service.enable) %} {% set service_function = {True:'running', False:'dead'}.get(nginx.service.enable) %}



+ 1
- 0
nginx/ng/vhosts.sls View File

# nginx.ng.vhosts # nginx.ng.vhosts
# #
# Manages virtual hosts and their relationship to the nginx service. # Manages virtual hosts and their relationship to the nginx service.

{% from 'nginx/ng/map.jinja' import nginx, sls_block with context %} {% 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/vhosts_config.sls' import vhost_states with context %}
{% from 'nginx/ng/service.sls' import service_function with context %} {% from 'nginx/ng/service.sls' import service_function with context %}

+ 1
- 0
nginx/ng/vhosts_config.sls View File

# nginx.ng.vhosts_config # nginx.ng.vhosts_config
# #
# Manages the configuration of virtual host files. # Manages the configuration of virtual host files.

{% from 'nginx/ng/map.jinja' import nginx, sls_block with context %} {% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}
{% set vhost_states = [] %} {% set vhost_states = [] %}



Loading…
Cancel
Save