Browse Source

Added vhost_alias.sls for that apache mod

master
Alan McNea 11 years ago
parent
commit
92b167ffa8
1 changed files with 16 additions and 0 deletions
  1. +16
    -0
      apache/vhost_alias.sls

+ 16
- 0
apache/vhost_alias.sls View File

{% 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…
Cancel
Save