Skip to content

Commit

Permalink
refactor(osfamilymap): remove workaround for OpenSUSE 15.1
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Mar 21, 2020
1 parent c00a40d commit 0da366c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions salt/osfamilymap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 0da366c

Please sign in to comment.