瀏覽代碼

fix(vhosts/minimal.tmpl): fix `salt-lint` errors

```bash
Examining apache/vhosts/minimal.tmpl of type state
[206] Jinja variables should have spaces before and after: {{ var_name }}
apache/vhosts/minimal.tmpl:25
<VirtualHost {% for intf in vals.interfaces %} {{intf}}:{{ vals.port }}{% endfor -%}>
```
tags/v0.38.0
Imran Iqbal 5 年之前
父節點
當前提交
146dc6702a
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      apache/vhosts/minimal.tmpl

+ 1
- 1
apache/vhosts/minimal.tmpl 查看文件

@@ -22,7 +22,7 @@
'DocumentRoot': site.get('DocumentRoot', '{0}/{1}'.format(map.wwwdir, sitename))
} -%}

<VirtualHost {% for intf in vals.interfaces %} {{intf}}:{{ vals.port }}{% endfor -%}>
<VirtualHost {% for intf in vals.interfaces %} {{ intf }}:{{ vals.port }}{% endfor -%}>
ServerName {{ vals.ServerName }}
{% if site.get('ServerAlias') != False %}ServerAlias {{ vals.ServerAlias }}{% endif %}
{% if site.get('ServerAdmin') != False %}ServerAdmin {{ vals.ServerAdmin }}{% endif %}

Loading…
取消
儲存