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:
parent
a8bbd2538f
commit
50494dc46f
|
@ -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() -%}
|
||||
|
|
Loading…
Reference in New Issue