From 9c9050595d80fff0d79723c65988b0292535b237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20B=C3=A9rtoli?= Date: Sun, 23 Apr 2017 14:37:26 -0300 Subject: [PATCH] Remove duplicated ID (fixes #179) --- apache/config.sls | 7 ------- apache/init.sls | 6 +++++- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/apache/config.sls b/apache/config.sls index 4691f8e..677bd6c 100644 --- a/apache/config.sls +++ b/apache/config.sls @@ -15,13 +15,6 @@ include: - context: apache: {{ apache }} -{{ apache.vhostdir }}: - file.directory: - - require: - - pkg: apache - - watch_in: - - service: apache - {% if grains['os_family']=="Debian" %} /etc/apache2/envvars: file.managed: diff --git a/apache/init.sls b/apache/init.sls index c3e170e..becb3d6 100644 --- a/apache/init.sls +++ b/apache/init.sls @@ -16,7 +16,11 @@ apache: {{ apache.vhostdir }}: file.directory: - - makedirs: True + - makedirs: True + - require: + - pkg: apache + - watch_in: + - service: apache # The following states are inert by default and can be used by other states to # trigger a restart or reload as needed.