Skip to content

Commit

Permalink
test(map.jinja): make salt-lint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
baby-gnu committed Feb 15, 2020
1 parent 7bcdb65 commit f06238d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TEMPLATE/map.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{%- do salt.log.debug('map.jinja: initialise parameters from ' ~ _defaults_filename ) %}
{%- import_yaml _defaults_filename as default_settings %}

{## List of sources to lookup for parameters ##}
{# List of sources to lookup for parameters #}
{%- do salt.log.debug('map.jinja: lookup map.jinja configuration sources') %}
{# Fallback to previously used grains #}
{%- set map_sources = ['osarch', 'os_family', 'os', 'osfinger'] %}
Expand All @@ -30,7 +30,7 @@

{# Work around assignment inside for loop #}
{# Do not clobber namespace with too much variables #}
{%- set _config = {'stack': default_settings, 'formula': {}} %}
{%- set _config = { 'stack': default_settings, 'formula': {} } %}

{%- for map_source in map_sources %}
{# Lookup the grain/pillar/... #}
Expand Down

0 comments on commit f06238d

Please sign in to comment.