Browse Source

Merge branch 'master' into test-harness

tags/v0.55.0
Megan 6 years ago
parent
commit
1ba5001b34
2 changed files with 11 additions and 1 deletions
  1. +5
    -0
      README.rst
  2. +6
    -1
      nginx/users.sls

+ 5
- 0
README.rst View File



Builds and installs nginx from source. Builds and installs nginx from source.


``nginx.ng.certificates``
-------------------

Manages the deployment of nginx certificates.

``nginx.ng.config`` ``nginx.ng.config``
------------------- -------------------



+ 6
- 1
nginx/users.sls View File

pkg.installed: pkg.installed:
- name: {{ nginx.apache_utils }} - name: {{ nginx.apache_utils }}


touch {{ htauth }}:
cmd.run:
- creates: {{ htauth }}

make sure {{ htauth }} exists: make sure {{ htauth }} exists:
file.exists:
file.managed:
- name: {{ htauth }} - name: {{ htauth }}
- makedirs: True


{% for name, user in pillar.get('users', {}).items() %} {% for name, user in pillar.get('users', {}).items() %}
{% if user['webauth'] is defined -%} {% if user['webauth'] is defined -%}

Loading…
Cancel
Save