Merge pull request #97 from unicalabs/master
Resolve missing dependency for nginx home dir.
This commit is contained in:
commit
5dd0d3efbc
@ -11,6 +11,13 @@
|
|||||||
- group: {{ nginx_map.default_group }}
|
- group: {{ nginx_map.default_group }}
|
||||||
- mode: 0755
|
- mode: 0755
|
||||||
- makedirs: True
|
- makedirs: True
|
||||||
|
- require:
|
||||||
|
{%- if pillar.get('nginx', {}).get('install_from_source', false) %}
|
||||||
|
- user: {{ nginx_map.default_user }}
|
||||||
|
- group: {{ nginx_map.default_group }}
|
||||||
|
{%- else %}
|
||||||
|
- pkg: nginx
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
/usr/share/nginx:
|
/usr/share/nginx:
|
||||||
file:
|
file:
|
||||||
|
Loading…
Reference in New Issue
Block a user