Browse Source

Merge pull request #31 from tfolio/users-optional

Optionally include nginx.users via a pillar value
susefix
Seth House 10 years ago
parent
commit
65b1594914
2 changed files with 3 additions and 0 deletions
  1. +2
    -0
      nginx/init.sls
  2. +1
    -0
      pillar.example

+ 2
- 0
nginx/init.sls View File

include: include:
- nginx.common - nginx.common
{% if pillar.get('nginx', {}).get('user_auth_enabled', true) %}
- nginx.users - nginx.users
{% endif %}
{% if pillar.get('nginx', {}).get('install_from_source') %} {% if pillar.get('nginx', {}).get('install_from_source') %}
- nginx.source - nginx.source
{% else %} {% else %}

+ 1
- 0
pillar.example View File

nginx: nginx:
install_from_source: True install_from_source: True
use_upstart: True use_upstart: True
user_auth_enabled: True
with_luajit: False with_luajit: False
with_openresty: True with_openresty: True
modules: modules:

Loading…
Cancel
Save