@@ -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: |
@@ -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. |