Merge pull request #11190 from Security-Onion-Solutions/failreposync

Failreposync
This commit is contained in:
Josh Patterson authored and GitHub committed 2023-08-28 12:01:44 -04:00
commit 4f8a0c4173
3 files changed
+6 -3

No files matched your search

+2 -1
View File
@@ -19,4 +19,5 @@ soup_manager_scripts:
- source: salt://manager/tools/sbin
- include_pat:
- so-firewall
- soup
- so-repo-sync
- soup
+3 -1
View File
@@ -11,6 +11,8 @@ set_version
set_os
salt_minion_count
set -e
curl --retry 5 --retry-delay 60 -A "reposync/$VERSION/$OS/$(uname -r)/$MINIONCOUNT" https://sigs.securityonion.net/checkup --output /tmp/checkup
dnf reposync --norepopath -g --delete -m -c /opt/so/conf/reposync/repodownload.conf --repoid=securityonionsync --download-metadata -p /nsm/repo/
createrepo /nsm/repo
createrepo /nsm/repo
+1 -1
View File
@@ -440,7 +440,7 @@ post_to_2.4.20() {
repo_sync() {
echo "Sync the local repo."
su socore -c '/usr/sbin/so-repo-sync'
su socore -c '/usr/sbin/so-repo-sync' || fail "Unable to complete so-repo-sync."
}
stop_salt_master() {