refactor(osfamilymap): remove workaround for OpenSUSE 15.1
This commit is contained in:
parent
c00a40d551
commit
0da366c7b2
|
@ -5,10 +5,6 @@
|
|||
{%- set py_ver_repr = salt['pillar.get']('salt:py_ver', '') %}
|
||||
|
||||
{%- 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') %}
|
||||
{%- if salt_release.split('.')|length >= 3 %}
|
||||
{%- set salt_release = 'archive/' ~ salt_release %}
|
||||
|
|
Loading…
Reference in New Issue