瀏覽代碼

Added vhost_alias.sls for that apache mod

master
Alan McNea 11 年之前
父節點
當前提交
92b167ffa8
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. +16
    -0
      apache/vhost_alias.sls

+ 16
- 0
apache/vhost_alias.sls 查看文件

@@ -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…
取消
儲存