From 5cad1002fc2c1112d101f9d1bfc1e194a94dfac2 Mon Sep 17 00:00:00 2001 From: Ross Perkins Date: Fri, 7 Nov 2014 18:56:28 -0800 Subject: [PATCH] Fixed some dependencies --- nginx/source.sls | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/nginx/source.sls b/nginx/source.sls index b03deea..be4c26c 100644 --- a/nginx/source.sls +++ b/nginx/source.sls @@ -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 %}