--- {%- from "nginx/map.jinja" import nginx with context %} nginx-pkg: pkg.installed: - pkgs: {{ nginx.packages }} nginx-logs-perms: file.directory: - name: /var/log/nginx - user: www-data - group: root - mode: 0775 #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.present: # - name: /var/log/nginx # - acl_type: group # - acl_name: www-data # - perms: rwx # - recurse: true