From 5b348eb3546fd80bf86da4a1149d72fdd83733ba Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Wed, 9 Oct 2019 18:32:11 +0100 Subject: [PATCH] fix(map.jinja): fix `salt-lint` errors ```bash Examining salt/map.jinja of type state [209] Jinja comment should have spaces before and after: {# comment #} salt/map.jinja:4 {## Start imports ##} [209] Jinja comment should have spaces before and after: {# comment #} salt/map.jinja:21 {## Merge in salt pillar ##} [209] Jinja comment should have spaces before and after: {# comment #} salt/map.jinja:24 {## Merge in salt_formulas pillar ##} ``` --- salt/map.jinja | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/salt/map.jinja b/salt/map.jinja index 8c433b2..67f583d 100644 --- a/salt/map.jinja +++ b/salt/map.jinja @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # vim: ft=jinja -{## Start imports ##} +{#- Start imports #} {% import_yaml "salt/defaults.yaml" as defaults %} {% import_yaml "salt/osfamilymap.yaml" as osfamilymap %} {% import_yaml "salt/osmap.yaml" as osmap %} @@ -18,8 +18,8 @@ {% set lookup = salt['pillar.get']('salt:lookup', default={}, merge=True) %} {% do salt['defaults.merge'](defaults['salt'], lookup) %} -{## Merge in salt pillar ##} +{#- Merge in salt pillar #} {% set salt_settings = salt['pillar.get']('salt', default=defaults['salt'], merge=True) %} -{## Merge in salt_formulas pillar ##} +{#- Merge in salt_formulas pillar #} {% set formulas_settings = salt['pillar.get']('salt_formulas',default=defaults['salt_formulas'], merge=True) %}