From e4ceed9a12e8a99749d5e4736cd2a641cabf6e72 Mon Sep 17 00:00:00 2001 From: Lenard Fudala Date: Wed, 26 Jul 2023 16:44:51 -0500 Subject: [PATCH] fix(maps): remove old extra block --- salt/osmap.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/salt/osmap.yaml b/salt/osmap.yaml index 81ecad4..54159bf 100644 --- a/salt/osmap.yaml +++ b/salt/osmap.yaml @@ -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 %}