Browse Source

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 years ago
parent
commit
146dc6702a
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      apache/vhosts/minimal.tmpl

+ 1
- 1
apache/vhosts/minimal.tmpl View File

@@ -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…
Cancel
Save