Skip to content

Commit

Permalink
fix(param.sls): fix salt-lint errors
Browse files Browse the repository at this point in the history
```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 ##}
```
  • Loading branch information
myii committed Oct 9, 2019
1 parent a8bbd25 commit 50494dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sysctl/param.sls
Original file line number Diff line number Diff line change
@@ -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 %}
Expand All @@ -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() -%}
Expand Down

0 comments on commit 50494dc

Please sign in to comment.