Browse Source

refactor(osfamilymap): remove workaround for OpenSUSE 15.1

tags/v1.3.2
Imran Iqbal 4 years ago
parent
commit
0da366c7b2
No account linked to committer's email address
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      salt/osfamilymap.yaml

+ 0
- 4
salt/osfamilymap.yaml View File

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

Loading…
Cancel
Save