Skip to content

Commit 0772d8a

Browse files
committed
fix(map.jinja): fix salt-lint errors
```bash Examining nginx/map.jinja of type state [202] Jinja statement should have spaces before and after: {% statement %} nginx/map.jinja:175 })%} [202] Jinja statement should have spaces before and after: {% statement %} nginx/map.jinja:181 })%} [202] Jinja statement should have spaces before and after: {% statement %} nginx/map.jinja:188 })%} [202] Jinja statement should have spaces before and after: {% statement %} nginx/map.jinja:192 })%} [202] Jinja statement should have spaces before and after: {% statement %} nginx/map.jinja:195 })%} ```
1 parent bedc1b6 commit 0772d8a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

nginx/map.jinja

+5-5
Original file line numberDiff line numberDiff line change
@@ -172,26 +172,26 @@
172172
{% if 'user' not in nginx.server.config %}
173173
{% do nginx.server.config.update({
174174
'user': nginx.lookup.webuser,
175-
})%}
175+
}) %}
176176
{% endif %}
177177

178178
{% if 'pid' not in nginx.server.config and 'pid_file' in nginx.lookup %}
179179
{% do nginx.server.config.update({
180180
'pid': nginx.lookup.pid_file,
181-
})%}
181+
}) %}
182182
{% endif %}
183183

184184
{% if salt['grains.get']('os_family') == 'RedHat' %}
185185
{% do nginx.passenger.update({
186186
'passenger_root': '/usr/share/ruby/vendor_ruby/phusion_passenger/locations.ini',
187187
'passenger_instance_registry_dir': '/var/run/passenger-instreg',
188-
})%}
188+
}) %}
189189
{% if 'osfinger' in grains and salt['grains.get']('osfinger') == 'CentOS-6' %}
190190
{% do nginx.server.config.update({
191191
'pid': '/var/run/nginx.pid',
192-
})%}
192+
}) %}
193193
{% do nginx.passenger.update({
194194
'passenger_root': '/usr/lib/ruby/1.8/phusion_passenger/locations.ini',
195-
})%}
195+
}) %}
196196
{% endif %}
197197
{% endif %}

0 commit comments

Comments
 (0)