2
0

refactor(osfamilymap): remove workaround for OpenSUSE 15.1

This commit is contained in:
Imran Iqbal 2020-03-21 00:21:40 +00:00
parent c00a40d551
commit 0da366c7b2
No known key found for this signature in database
GPG Key ID: 6D8629439D2B7819

View File

@ -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 %}