diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index 9cd47e4dc..3d16bc81b 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -878,7 +878,7 @@ update_repo() { echo "Disabling fastestmirror." disable_fastestmirror echo "Deleting unneeded repo files." - DELREPOS=('CentOS-Base' 'CentOS-CR' 'CentOS-Debuginfo' 'docker-ce' 'CentOS-fasttrack' 'CentOS-Media' 'CentOS-Sources' 'CentOS-Vault' 'CentOS-x86_64-kernel' 'epel' 'epel-testing' 'saltstack' 'wazuh') + DELREPOS=('CentOS-Base' 'CentOS-CR' 'CentOS-Debuginfo' 'docker-ce' 'CentOS-fasttrack' 'CentOS-Media' 'CentOS-Sources' 'CentOS-Vault' 'CentOS-x86_64-kernel' 'epel' 'epel-testing' 'saltstack' 'salt-latest' 'wazuh') for DELREPO in "${DELREPOS[@]}"; do if [[ -f "/etc/yum.repos.d/$DELREPO.repo" ]]; then diff --git a/salt/repo/client/map.jinja b/salt/repo/client/map.jinja index dedb96783..e89fad746 100644 --- a/salt/repo/client/map.jinja +++ b/salt/repo/client/map.jinja @@ -14,6 +14,7 @@ 'epel.repo', 'epel-testing.repo', 'saltstack.repo', + 'salt-latest.repo', 'wazuh.repo' ] %} @@ -23,4 +24,4 @@ {% set REPOPATH = '/etc/apt/sources.list.d/' %} {% set ABSENTFILES = [] %} -{% endif %} \ No newline at end of file +{% endif %} diff --git a/salt/salt/minion.sls b/salt/salt/minion.sls index a9320defb..cf26c1249 100644 --- a/salt/salt/minion.sls +++ b/salt/salt/minion.sls @@ -10,6 +10,7 @@ include: - salt - salt.helper-packages - systemd.reload + - repo.client {% if INSTALLEDSALTVERSION|string != SALTVERSION|string %}