瀏覽代碼

Merge pull request #82 from eliasp/patch-1

Don't execute `a2dissite` on each state run
master
puneet kandhari 9 年之前
父節點
當前提交
c6413a361c
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      apache/vhosts/standard.sls

+ 1
- 0
apache/vhosts/standard.sls 查看文件

@@ -43,6 +43,7 @@ a2ensite {{ id }}{{ apache.confext }}:
a2dissite {{ id }}{{ apache.confext }}:
cmd:
- run
- onlyif: test -f /etc/apache2/sites-enabled/{{ id }}{{ apache.confext }}
- require:
- file: /etc/apache2/sites-available/{{ id }}{{ apache.confext }}
- watch_in:

Loading…
取消
儲存