From 6a08317ae773279956cf1c56f757936357b93310 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Wed, 9 Oct 2019 18:38:09 +0100 Subject: [PATCH] fix(map.jinja): fix `salt-lint` errors ```bash Examining sysctl/map.jinja of type state [209] Jinja comment should have spaces before and after: {# comment #} sysctl/map.jinja:4 {## Start with defaults from defaults.sls and osfamilymap.yml ##} [209] Jinja comment should have spaces before and after: {# comment #} sysctl/map.jinja:21 {## Apply backwards compatiblility after merge ##} [209] Jinja comment should have spaces before and after: {# comment #} sysctl/map.jinja:29 {## Merge in sysctl pillar ##} ``` --- sysctl/map.jinja | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sysctl/map.jinja b/sysctl/map.jinja index d09c0e1..fd3c41f 100644 --- a/sysctl/map.jinja +++ b/sysctl/map.jinja @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # vim: ft=jinja -{## Start with defaults from defaults.sls and osfamilymap.yml ##} +{#- Start with defaults from defaults.sls and osfamilymap.yml #} {% import_yaml 'sysctl/defaults.yml' as default_settings %} {% import_yaml "sysctl/osfamilymap.yml" as os_family_map %} @@ -18,7 +18,7 @@ ) %} -{## Apply backwards compatiblility after merge ##} +{#- Apply backwards compatiblility after merge #} {% if default_settings['sysctl']['params'] is defined %} {% do default_settings['sysctl'].pop('params') %} {% endif %} @@ -26,7 +26,7 @@ {% do default_settings['sysctl'].pop('params2') %} {% endif %} -{## Merge in sysctl pillar ##} +{#- Merge in sysctl pillar #} {% set sysctl_settings = salt['pillar.get']( 'sysctl', default=default_settings['sysctl'],