From f5fe4664108e0f4a0102861f964f96d79cfce96b Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Fri, 14 Jan 2022 12:02:35 -0500 Subject: [PATCH] repo update --- salt/common/tools/sbin/soup | 4 ++-- salt/repo/client/files/centos/securityonion.repo | 11 ++--------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index 4414830f8..588b30e46 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -861,7 +861,7 @@ upgrade_salt() { fi } -upgrade_to_2.3.50_repo() { +update_repo() { echo "Performing repo changes." if [[ "$OS" == "centos" ]]; then # Import GPG Keys @@ -1055,7 +1055,7 @@ main() { stop_salt_master - upgrade_to_2.3.50_repo + update_repo # Does salt need upgraded. If so update it. if [[ $UPGRADESALT -eq 1 ]]; then diff --git a/salt/repo/client/files/centos/securityonion.repo b/salt/repo/client/files/centos/securityonion.repo index 06eefdc88..23b6f8d6f 100644 --- a/salt/repo/client/files/centos/securityonion.repo +++ b/salt/repo/client/files/centos/securityonion.repo @@ -42,18 +42,11 @@ gpgkey=file:///etc/pki/rpm-gpg/docker.pub [saltstack] name=SaltStack repo for RHEL/CentOS $releasever PY3 -baseurl=https://repo.securityonion.net/file/securityonion-repo/saltstack3003/ +baseurl=https://repo.securityonion.net/file/securityonion-repo/saltstack/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/SALTSTACK-GPG-KEY.pub -[saltstack3003] -name=SaltStack repo for RHEL/CentOS $releasever PY3 -baseurl=https://repo.securityonion.net/file/securityonion-repo/saltstack3003/ -enabled=1 -gpgcheck=1 -gpgkey=https://repo.securityonion.net/file/securityonion-repo/keys/SALTSTACK-GPG-KEY.pub - [wazuh_repo] gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-WAZUH @@ -75,4 +68,4 @@ name=Security Onion Repo repo baseurl=https://repo.securityonion.net/file/securityonion-repo/securityonion/ enabled=1 gpgcheck=1 -gpgkey=https://repo.securityonion.net/file/securityonion-repo/keys/securityonion.pub \ No newline at end of file +gpgkey=https://repo.securityonion.net/file/securityonion-repo/keys/securityonion.pub