Fixed some dependencies

This commit is contained in:
Ross Perkins 2014-11-07 18:56:28 -08:00
parent ce0e3384eb
commit 5cad1002fc

View File

@ -212,8 +212,6 @@ nginx:
{% for name, module in nginx.get('modules', {}).items() -%}
- file: get-nginx-{{name}}
{% endfor %}
- require_in:
- service: nginx
file:
- managed
- template: jinja
@ -241,14 +239,14 @@ nginx:
{{ conf_dir }}/{{ file }}:
file:
- absent
watch:
- cmd: nginx
- require_in:
- service: nginx
{% endfor %}
{% for file in nginx.get('delete_htdocs', []) %}
{{ install_prefix }}/html/{{ file }}:
file:
- absent
watch:
- cmd: nginx
- require_in:
- service: nginx
{% endfor %}