Added vhost_alias.sls for that apache mod
This commit is contained in:
parent
f153c78ba8
commit
92b167ffa8
16
apache/vhost_alias.sls
Normal file
16
apache/vhost_alias.sls
Normal file
@ -0,0 +1,16 @@
|
||||
{% 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 %}
|
Loading…
Reference in New Issue
Block a user