diff --git a/salt/repo/client/map.jinja b/salt/repo/client/map.jinja index a70c8d476..5f3fcc3b7 100644 --- a/salt/repo/client/map.jinja +++ b/salt/repo/client/map.jinja @@ -1,6 +1,6 @@ {% from 'vars/globals.map.jinja' import GLOBALS %} -{% if GLOBALS.os == 'CentOS Stream' %} +{% if GLOBALS.os_family == 'RedHat' %} {% set REPOPATH = '/etc/yum.repos.d/' %} {% set ABSENTFILES = [ @@ -14,13 +14,6 @@ 'saltstack.repo', 'salt-latest.repo', 'wazuh.repo' - ] - %} - -{% elif GLOBALS.os == 'Rocky' %} - - {% set REPOPATH = '/etc/yum.repos.d/' %} - {% set ABSENTFILES = [ 'Rocky-Base.repo', 'Rocky-CR.repo', 'Rocky-Debuginfo.repo', @@ -33,15 +26,11 @@ 'rocky-devel.repo', 'rocky-extras.repo', 'rocky.repo', - 'docker-ce.repo', - 'epel.repo', - 'epel-testing.repo', - 'saltstack.repo', - 'salt-latest.repo', - 'wazuh.repo' + 'oracle-linux-ol9', + 'uek-ol9', + 'virt-oll9' ] %} - {% elif GLOBALS.os == 'Ubuntu' %} {% set REPOPATH = '/etc/apt/sources.list.d/' %}