Skip to content

Commit

Permalink
fix(clientlibs/install): ensure tar is available for Oracle Linux 8
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Feb 27, 2021
1 parent 83efb0b commit d30b42c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions prometheus/clientlibs/install.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d30b42c

Please sign in to comment.