Skip to content

Commit

Permalink
fix(install.sls): fix salt-lint errors
Browse files Browse the repository at this point in the history
```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
```
  • Loading branch information
myii committed Oct 9, 2019
1 parent 85c7fce commit 173bc4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prometheus/archive/install.sls
Expand Up @@ -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) }}
Expand All @@ -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 }}
Expand Down

0 comments on commit 173bc4f

Please sign in to comment.