From eb9c0c2b3460d138d5497d82d63d53fcbdb714b4 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby Date: Fri, 2 Oct 2015 00:45:56 +0200 Subject: [PATCH] Allow usage of haproxy.service without haproxy.config --- haproxy/config.sls | 2 ++ haproxy/service.sls | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/haproxy/config.sls b/haproxy/config.sls index e4fa11d..f74fce6 100644 --- a/haproxy/config.sls +++ b/haproxy/config.sls @@ -6,3 +6,5 @@ haproxy.config: - user: root - group: root - mode: 644 + - watch_in: + - service: haproxy.service diff --git a/haproxy/service.sls b/haproxy/service.sls index 62d4193..7e16794 100644 --- a/haproxy/service.sls +++ b/haproxy/service.sls @@ -7,8 +7,6 @@ haproxy.service: - require: - pkg: haproxy file: haproxy.service - - watch: - - file: haproxy.config {% else %} service.dead: - name: haproxy