瀏覽代碼

fix(vhosts/cleanup.sls): fix `salt-lint` errors

```bash
Examining apache/vhosts/cleanup.sls of type state
[206] Jinja variables should have spaces before and after: {{ var_name }}
apache/vhosts/cleanup.sls:29
    - onlyif: "test -L {{ dirpath}}/{{ filename }} || test -f {{ dirpath}}/{{ filename }}"
```
tags/v0.38.0
Imran Iqbal 5 年之前
父節點
當前提交
b0bbd0b91d
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      apache/vhosts/cleanup.sls

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

@@ -26,7 +26,7 @@ include:

a2dissite {{ filename }}:
cmd.run:
- onlyif: "test -L {{ dirpath}}/{{ filename }} || test -f {{ dirpath}}/{{ filename }}"
- onlyif: "test -L {{ dirpath }}/{{ filename }} || test -f {{ dirpath }}/{{ filename }}"
- watch_in:
- module: apache-reload
- require_in:

Loading…
取消
儲存