From 805633972bf2cda363c8a1814505dfbea925cbe0 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Wed, 9 Oct 2019 18:19:27 +0100 Subject: [PATCH] fix(clean.sls): fix `salt-lint` errors ```bash Examining prometheus/archive/install.sls of type state [201] Trailing whitespace prometheus/archive/install.sls:33 - source_hash: {{ p.pkg[name]['archive_hash'] }} [201] Trailing whitespace prometheus/archive/install.sls:44 ``` --- prometheus/config/file/clean.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prometheus/config/file/clean.sls b/prometheus/config/file/clean.sls index 254a0c3..ae3a75c 100644 --- a/prometheus/config/file/clean.sls +++ b/prometheus/config/file/clean.sls @@ -15,7 +15,7 @@ include: prometheus-config-file-{{ name }}-file-absent: file.absent: - name: {{ prometheus.dir.etc }}/{{ name }}.yml - - require_in: + - require_in: - file: prometheus-config-file-etc-file-absent {%- endfor %} @@ -23,5 +23,5 @@ prometheus-config-file-{{ name }}-file-absent: prometheus-config-file-etc-file-absent: file.absent: - name: {{ prometheus.dir.etc }} - - require: + - require: - sls: {{ sls_service_clean }}