From 173bc4f348aa131624d70b0e91c9cfe7e6ea342c Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Wed, 9 Oct 2019 18:18:44 +0100 Subject: [PATCH] fix(install.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/archive/install.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prometheus/archive/install.sls b/prometheus/archive/install.sls index 93c1c83..406d713 100644 --- a/prometheus/archive/install.sls +++ b/prometheus/archive/install.sls @@ -30,7 +30,7 @@ prometheus-archive-install-{{ name }}-archive-extracted: - name: {{ p.dir.basedir }} - source: {{ p.archive.uri }}/{{ name }}/releases/download/v{{ p.pkg[name]['archive_version'] + '/' + bundle + '.' + p.archive.suffix }} - - source_hash: {{ p.pkg[name]['archive_hash'] }} + - source_hash: {{ p.pkg[name]['archive_hash'] }} - user: {{ name }} - group: {{ name }} {{- format_kwargs(p.archive.kwargs) }} @@ -41,7 +41,7 @@ prometheus-archive-install-{{ name }}-archive-extracted: - file: prometheus-config-file-basedir-file-directory {%- if name in p.service %} - + prometheus-archive-install-{{ name }}-file-directory: file.directory: - name: {{ p.dir.var }}/{{ name }}