fix(clientlibs/install): ensure tar is available for Oracle Linux 8

This commit is contained in:
Imran Iqbal 2021-02-27 21:57:13 +00:00
parent 83efb0b434
commit d30b42ced0
No known key found for this signature in database
GPG Key ID: 6D8629439D2B7819

View File

@ -28,6 +28,12 @@ prometheus-clientlibs-install-{{ name }}:
- group
- mode
{%- endif %}
{%- if grains.get('osfinger', '') in ['Oracle Linux Server-8'] %}
pkg.installed:
- name: tar
- require_in:
- archive: prometheus-clientlibs-install-{{ name }}
{%- endif %}
archive.extracted:
{{- format_kwargs(p.pkg.clientlibs[name]['archive']) }}
- trim_output: true