ソースを参照

use test -f instead of ls

master
Vincent Fretin 10年前
コミット
0aec048eaf
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      apache/vhosts/standard.sls

+ 1
- 1
apache/vhosts/standard.sls ファイルの表示

@@ -24,7 +24,7 @@ include:
a2ensite {{ id }}:
cmd:
- run
- unless: ls /etc/apache2/sites-enabled/{{ id }}
- unless: test -f /etc/apache2/sites-enabled/{{ id }}
- require:
- file: {{ id }}
- watch_in:

読み込み中…
キャンセル
保存