Skip to content

Commit 146dc67

Browse files
committed
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 -%}> ```
1 parent b0bbd0b commit 146dc67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apache/vhosts/minimal.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
'DocumentRoot': site.get('DocumentRoot', '{0}/{1}'.format(map.wwwdir, sitename))
2323
} -%}
2424

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

0 commit comments

Comments
 (0)