Merge pull request #97 from unicalabs/master

Resolve missing dependency for nginx home dir.
This commit is contained in:
Wolodja Wentland 2015-09-28 16:29:10 +02:00
commit 5dd0d3efbc

View File

@ -11,6 +11,13 @@
- group: {{ nginx_map.default_group }}
- mode: 0755
- 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:
file: