Wait until pkg:nginx is installed before adding /etc/nginx/nginx.conf

This commit is contained in:
Ajna Cackovic 2014-10-15 21:30:39 -07:00
parent 4bcb49826e
commit f0f2f941a4

View File

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