apache-formula/apache/debian_full.sls

42 lines
697 B
Plaintext
Raw Normal View History

{% if grains['os_family']=="Debian" %}
include:
- apache
- apache.register_site
extend:
apache:
pkg:
- order: 175
service:
- order: 455
apache-reload:
module:
- order: 420
apache-restart:
module:
- order: 425
a2dissite 000-default:
cmd.run:
- order: 225
- onlyif: ls /etc/apache2/sites-enabled/000-default
- watch_in:
- module: apache-reload
2013-07-27 20:29:52 +02:00
- require:
- pkg: apache
/etc/apache2/sites-available/default:
file.absent:
- order: 230
- require:
- pkg: apache
/etc/apache2/sites-available/default-ssl:
file.absent:
- order: 230
- require:
- pkg: apache
{% endif %} #END: os = debian