Merge branch 'master' into test-harness
This commit is contained in:
commit
1ba5001b34
@ -83,6 +83,11 @@ Installs nginx from package, from the distribution repositories, the official ng
|
|||||||
|
|
||||||
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``
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
@ -5,9 +5,14 @@ htpasswd:
|
|||||||
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…
Reference in New Issue
Block a user