- source: salt://nginx/templates/config.jinja | - source: salt://nginx/templates/config.jinja | ||||
- require: | - require: | ||||
- file: /etc/nginx | - file: /etc/nginx | ||||
- pkg: nginx | |||||
{% for dir in ('sites-enabled', 'sites-available') %} | {% for dir in ('sites-enabled', 'sites-available') %} | ||||
/etc/nginx/{{ dir }}: | /etc/nginx/{{ dir }}: |