0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-11-27 22:38:10 +01:00

fix(maps): remove old extra block

This commit is contained in:
Lenard Fudala 2023-07-26 16:44:51 -05:00
parent 671e926319
commit e4ceed9a12

View File

@ -7,9 +7,6 @@
{%- set repoarch = salt['grains.get']('osarch') %}
{%- set osrelease = salt['grains.get']('osrelease', '') %}
{%- set salt_release = salt['pillar.get']('salt:release', 'latest') %}
{%- if salt_release != "latest" %}
{%- set salt_release_major = salt_release.split('.') | map('.') | list | first %}
{%- endif %}
{%- if salt_release.split('.')|length >= 3 %}
{%- set salt_release = 'archive/' ~ salt_release %}
{%- endif %}