Skip to content

Commit

Permalink
Do not hardcode primary python interpreter but calculate it
Browse files Browse the repository at this point in the history
  • Loading branch information
meaksh committed Feb 20, 2025
1 parent 2e44203 commit 5fdb1b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions salt/salt_testenv/salt_classic_package.sls
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ salt_testing_repo:
{% set salt_minion_is_installed = salt["pkg.info_installed"]("salt-minion").get("salt-minion", False) %}

{% if grains['os_family'] == 'Suse' and grains['osfullname'] in ['SL-Micro', 'openSUSE Tumbleweed'] %}
{% set salt_classic_pkgs = "python311-salt-testsuite python311-salt" %}
{% set salt_test_executor = "python311-salt-test" %}
{% set salt_classic_pkgs = "python3{{ grains['pythonversion'][1] }}-salt-testsuite python3{{ grains['pythonversion'][1] }}-salt" %}
{% set salt_test_executor = "python3{{ grains['pythonversion'][1] }}-salt-test" %}
{% else %}
{% set salt_classic_pkgs = "python3-salt-testsuite python3-salt" %}
{% set salt_test_executor = "python3-salt-test" %}
Expand Down

0 comments on commit 5fdb1b3

Please sign in to comment.