fixing bug with common.sls that causes it to failsusefix
file: | file: | ||||
- absent | - absent | ||||
{% for dir in ['sites-available', 'sites-enabled'] -%} | |||||
/etc/nginx/{{ dir }}: | |||||
file.directory: | |||||
- user: www-data | |||||
- group: www-data | |||||
- mode: 0755 | |||||
{% endfor -%} | |||||
/etc/nginx: | /etc/nginx: | ||||
file.directory: | file.directory: | ||||
- user: root | - user: root |