From f4bd172adcc58a6ecbb0ff15389895b11d751fd7 Mon Sep 17 00:00:00 2001 From: George Robinson Date: Wed, 22 Jun 2016 11:09:05 +0100 Subject: [PATCH] Fix state fail when NGINX is already installed --- nginx/ng/src.sls | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nginx/ng/src.sls b/nginx/ng/src.sls index bee24b8..147192b 100644 --- a/nginx/ng/src.sls +++ b/nginx/ng/src.sls @@ -42,6 +42,8 @@ nginx_compile: - cwd: /tmp/nginx-{{ nginx.source_version }} - require: - cmd: nginx_configure + - onchanges: + - cmd: nginx_configure nginx_install: cmd.run: