2016-02-16 13:09:52 +01:00
|
|
|
{% if grains['os_family']=="Debian" %}
|
|
|
|
|
|
|
|
{% from "apache/map.jinja" import apache with context %}
|
|
|
|
|
|
|
|
include:
|
|
|
|
- apache
|
|
|
|
|
2016-05-18 13:01:05 +02:00
|
|
|
a2dissite 000-default.conf:
|
2016-05-18 17:04:41 +02:00
|
|
|
cmd.run:
|
2016-05-18 13:01:05 +02:00
|
|
|
- unless: test ! -f /etc/apache2/sites-enabled/000-default.conf
|
2016-02-16 13:09:52 +01:00
|
|
|
- require:
|
|
|
|
- pkg: apache
|
|
|
|
- watch_in:
|
|
|
|
- module: apache-reload
|
|
|
|
|
2016-05-18 13:01:05 +02:00
|
|
|
{% endif %}
|