apache-formula/apache/mod_vhost_alias.sls

20 lines
368 B
Plaintext
Raw Normal View History

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