fix(clientlibs/install): ensure tar
is available for Oracle Linux 8
This commit is contained in:
parent
83efb0b434
commit
d30b42ced0
@ -28,6 +28,12 @@ prometheus-clientlibs-install-{{ name }}:
|
|||||||
- group
|
- group
|
||||||
- mode
|
- mode
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
{%- if grains.get('osfinger', '') in ['Oracle Linux Server-8'] %}
|
||||||
|
pkg.installed:
|
||||||
|
- name: tar
|
||||||
|
- require_in:
|
||||||
|
- archive: prometheus-clientlibs-install-{{ name }}
|
||||||
|
{%- endif %}
|
||||||
archive.extracted:
|
archive.extracted:
|
||||||
{{- format_kwargs(p.pkg.clientlibs[name]['archive']) }}
|
{{- format_kwargs(p.pkg.clientlibs[name]['archive']) }}
|
||||||
- trim_output: true
|
- trim_output: true
|
||||||
|
Loading…
Reference in New Issue
Block a user