From 55560a69168c80446b056c63802338c6325238a8 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Wed, 9 Oct 2019 15:00:50 +0100 Subject: [PATCH] fix(map.jinja): fix `salt-lint` errors ```bash Examining openssh/map.jinja of type state [209] Jinja comment should have spaces before and after: {# comment #} openssh/map.jinja:4 {## Start imports as ##} [209] Jinja comment should have spaces before and after: {# comment #} openssh/map.jinja:19 {## merge the openssh pillar ##} ``` --- openssh/map.jinja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openssh/map.jinja b/openssh/map.jinja index a907f5e..8926e06 100644 --- a/openssh/map.jinja +++ b/openssh/map.jinja @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # vim: ft=jinja -{## Start imports as ##} +{#- Start imports as #} {% import_yaml 'openssh/defaults.yaml' as default_settings %} {% import_yaml 'openssh/osfamilymap.yaml' as osfamilymap %} {% import_yaml 'openssh/osmap.yaml' as osmap %} @@ -16,7 +16,7 @@ ) ) %} -{## merge the openssh pillar ##} +{#- merge the openssh pillar #} {% set openssh = salt['pillar.get']('openssh', default=defaults['openssh'], merge=True) %} {% set ssh_config = salt['pillar.get']('ssh_config', default=defaults['ssh_config'], merge=True) %} {% set sshd_config = salt['pillar.get']('sshd_config', default=defaults['sshd_config'], merge=True) %}