Browse Source

Remove duplicated ID (fixes #179)

master
Javier Bértoli 7 years ago
parent
commit
9c9050595d
2 changed files with 5 additions and 8 deletions
  1. +0
    -7
      apache/config.sls
  2. +5
    -1
      apache/init.sls

+ 0
- 7
apache/config.sls View File

- context: - context:
apache: {{ apache }} apache: {{ apache }}


{{ apache.vhostdir }}:
file.directory:
- require:
- pkg: apache
- watch_in:
- service: apache

{% if grains['os_family']=="Debian" %} {% if grains['os_family']=="Debian" %}
/etc/apache2/envvars: /etc/apache2/envvars:
file.managed: file.managed:

+ 5
- 1
apache/init.sls View File



{{ apache.vhostdir }}: {{ apache.vhostdir }}:
file.directory: 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 # The following states are inert by default and can be used by other states to
# trigger a restart or reload as needed. # trigger a restart or reload as needed.

Loading…
Cancel
Save