From ce7137753355796c645c79686a740821068d1267 Mon Sep 17 00:00:00 2001 From: Oscar Barrios Date: Thu, 10 Oct 2024 10:41:55 +0200 Subject: [PATCH] Only Debian-like minions/clients require wget in our testsuite (#1734) --- salt/client/testsuite.sls | 3 +++ salt/minion/testsuite.sls | 3 +++ 2 files changed, 6 insertions(+) diff --git a/salt/client/testsuite.sls b/salt/client/testsuite.sls index cf13fa38b..d18cf3dea 100644 --- a/salt/client/testsuite.sls +++ b/salt/client/testsuite.sls @@ -10,7 +10,10 @@ client_cucumber_requisites: - spacewalk-client-setup - spacewalk-check - mgr-cfg-actions +# Debian based systems don't come with curl installed, the test suite handles it with wget instead +{% if grains['os_family'] == 'Debian' %} - wget +{% endif %} - require: - sls: default diff --git a/salt/minion/testsuite.sls b/salt/minion/testsuite.sls index 585aad499..914f80829 100644 --- a/salt/minion/testsuite.sls +++ b/salt/minion/testsuite.sls @@ -11,7 +11,10 @@ minion_cucumber_requisites: {% else %} - salt-minion {% endif %} +# Debian based systems don't come with curl installed, the test suite handles it with wget instead +{% if grains['os_family'] == 'Debian' %} - wget +{% endif %} - require: - sls: default {% endif %}