From d30b42ced095dba6b10bab8c77b2e064cb150008 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Sat, 27 Feb 2021 21:57:13 +0000 Subject: [PATCH] fix(clientlibs/install): ensure `tar` is available for Oracle Linux 8 --- prometheus/clientlibs/install.sls | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/prometheus/clientlibs/install.sls b/prometheus/clientlibs/install.sls index 9c62d82f..c157f351 100644 --- a/prometheus/clientlibs/install.sls +++ b/prometheus/clientlibs/install.sls @@ -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