apache-formula/apache/vhost_alias.sls
2013-11-05 20:06:10 +00:00

17 lines
270 B
Plaintext

{% if grains['os_family']=="Debian" %}
include:
- apt
- apache
a2enmod vhost_alias:
cmd.run:
- unless: ls /etc/apache2/mods-enabled/vhost_alias.load
- order: 225
- require:
- pkg: apache
- watch_in:
- cmd: apache-restart
{% endif %}