Wait until pkg:nginx is installed before adding /etc/nginx/nginx.conf
This commit is contained in:
parent
4bcb49826e
commit
f0f2f941a4
@ -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 }}:
|
||||
|
Loading…
Reference in New Issue
Block a user