---
{%- from "nginx/map.jinja" import nginx with context %}
nginx-pkg:
pkg.installed:
- pkgs: {{ nginx.packages }}
nginx-logs-user-acl:
acl.present:
- name: /var/log/nginx
- acl_type: user
- acl_name: www-data
- perms: rwx
- recurse: true
nginx-logs-group-acl:
- acl_type: group