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