|
|
|
|
|
|
|
|
{%- set py_ver_repr = salt['pillar.get']('salt:py_ver', '') %} |
|
|
{%- set py_ver_repr = salt['pillar.get']('salt:py_ver', '') %} |
|
|
|
|
|
|
|
|
{%- set osrelease = salt['grains.get']('osrelease') %} |
|
|
{%- set osrelease = salt['grains.get']('osrelease') %} |
|
|
{#- Workaround for OpenSuse Leap 15.1 until the repo is available #} |
|
|
|
|
|
{%- if [grains.os_family, osrelease] == ['Suse', '15.1'] %} |
|
|
|
|
|
{%- set osrelease = '15.0' %} |
|
|
|
|
|
{%- endif %} |
|
|
|
|
|
{%- set salt_release = salt['pillar.get']('salt:release', 'latest') %} |
|
|
{%- set salt_release = salt['pillar.get']('salt:release', 'latest') %} |
|
|
{%- if salt_release.split('.')|length >= 3 %} |
|
|
{%- if salt_release.split('.')|length >= 3 %} |
|
|
{%- set salt_release = 'archive/' ~ salt_release %} |
|
|
{%- set salt_release = 'archive/' ~ salt_release %} |