Skip to content

Commit

Permalink
fix(vhosts/minimal.tmpl): fix salt-lint errors
Browse files Browse the repository at this point in the history
```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 -%}>
```
  • Loading branch information
myii committed Oct 17, 2019
1 parent b0bbd0b commit 146dc67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apache/vhosts/minimal.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 146dc67

Please sign in to comment.