From ffafd1e0d77ed6922a354887c508ff752d47f642 Mon Sep 17 00:00:00 2001 From: Chad Heuschober Date: Mon, 19 May 2014 13:22:51 -0400 Subject: [PATCH] More documentation touches. --- nginx/ng/config.sls | 4 ++++ nginx/ng/install.sls | 1 + nginx/ng/service.sls | 1 + nginx/ng/vhosts.sls | 1 + nginx/ng/vhosts_config.sls | 1 + 5 files changed, 8 insertions(+) diff --git a/nginx/ng/config.sls b/nginx/ng/config.sls index 5914725..c0923a5 100644 --- a/nginx/ng/config.sls +++ b/nginx/ng/config.sls @@ -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: diff --git a/nginx/ng/install.sls b/nginx/ng/install.sls index 2938d76..f538ccd 100644 --- a/nginx/ng/install.sls +++ b/nginx/ng/install.sls @@ -1,6 +1,7 @@ # nginx.ng.install # # Manages installation of nginx. + {% from 'nginx/ng/map.jinja' import nginx, sls_block with context %} nginx_install: diff --git a/nginx/ng/service.sls b/nginx/ng/service.sls index a339ccf..177c175 100644 --- a/nginx/ng/service.sls +++ b/nginx/ng/service.sls @@ -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) %} diff --git a/nginx/ng/vhosts.sls b/nginx/ng/vhosts.sls index 423aa9a..bfe67b1 100644 --- a/nginx/ng/vhosts.sls +++ b/nginx/ng/vhosts.sls @@ -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 %} diff --git a/nginx/ng/vhosts_config.sls b/nginx/ng/vhosts_config.sls index f957239..e204d4d 100644 --- a/nginx/ng/vhosts_config.sls +++ b/nginx/ng/vhosts_config.sls @@ -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 = [] %}