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
```
This commit is contained in:
parent
85c7fceb0d
commit
173bc4f348
@ -30,7 +30,7 @@ prometheus-archive-install-{{ name }}-archive-extracted:
|
|||||||
- name: {{ p.dir.basedir }}
|
- name: {{ p.dir.basedir }}
|
||||||
- source: {{ p.archive.uri }}/{{ name }}/releases/download/v{{ p.pkg[name]['archive_version']
|
- source: {{ p.archive.uri }}/{{ name }}/releases/download/v{{ p.pkg[name]['archive_version']
|
||||||
+ '/' + bundle + '.' + p.archive.suffix }}
|
+ '/' + bundle + '.' + p.archive.suffix }}
|
||||||
- source_hash: {{ p.pkg[name]['archive_hash'] }}
|
- source_hash: {{ p.pkg[name]['archive_hash'] }}
|
||||||
- user: {{ name }}
|
- user: {{ name }}
|
||||||
- group: {{ name }}
|
- group: {{ name }}
|
||||||
{{- format_kwargs(p.archive.kwargs) }}
|
{{- format_kwargs(p.archive.kwargs) }}
|
||||||
@ -41,7 +41,7 @@ prometheus-archive-install-{{ name }}-archive-extracted:
|
|||||||
- file: prometheus-config-file-basedir-file-directory
|
- file: prometheus-config-file-basedir-file-directory
|
||||||
|
|
||||||
{%- if name in p.service %}
|
{%- if name in p.service %}
|
||||||
|
|
||||||
prometheus-archive-install-{{ name }}-file-directory:
|
prometheus-archive-install-{{ name }}-file-directory:
|
||||||
file.directory:
|
file.directory:
|
||||||
- name: {{ p.dir.var }}/{{ name }}
|
- name: {{ p.dir.var }}/{{ name }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user