Fix absent /var/log/nginx

This commit is contained in:
George Robinson 2016-05-09 17:59:55 +01:00
parent f24b066c43
commit 874719e49e

View File

@ -4,6 +4,11 @@
{% from 'nginx/ng/map.jinja' import nginx, sls_block with context %}
{% if nginx.install_from_source %}
/var/log/nginx:
file.directory
{% endif %}
nginx_config:
file.managed:
{{ sls_block(nginx.server.opts) }}