fix(param.sls): fix `salt-lint` errors

```bash
Examining sysctl/param.sls of type state
[209] Jinja comment should have spaces before and after: {# comment #}
sysctl/param.sls:4
{## import settings from map.jinja ##}

[209] Jinja comment should have spaces before and after: {# comment #}
sysctl/param.sls:25
{## Support for legacy pillar structure ##}
```
This commit is contained in:
Imran Iqbal 2019-10-09 18:39:43 +01:00
parent a8bbd2538f
commit 50494dc46f
No known key found for this signature in database
GPG Key ID: 6D8629439D2B7819
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# vim: ft=sls
{## import settings from map.jinja ##}
{#- import settings from map.jinja #}
{%- from "sysctl/map.jinja" import sysctl_settings with context %}
{% if sysctl_settings.params is defined %}
@ -22,7 +22,7 @@ sysctl-present-{{ param_name }}:
{% endif %}
{% endfor %}
{% else %}
{## Support for legacy pillar structure ##}
{#- Support for legacy pillar structure #}
{%- if sysctl_settings.lookup is defined %}
{% if sysctl_settings.lookup.params2 is defined -%}
{%- for param_name, param in sysctl_settings.lookup.get('params2', {}).items() -%}