From 6b18551dd19092431758092adced123ca94229c7 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Fri, 28 Jan 2022 14:39:10 -0500 Subject: [PATCH] skip applying repo.client if airgap and saltupgrade prior to yum clean all --- salt/common/tools/sbin/soup | 1 - 1 file changed, 1 deletion(-) diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index dd8cf7b3f..dc10b3f18 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -1159,7 +1159,6 @@ main() { if [[ $is_airgap -eq 0 ]]; then echo "" echo "Cleaning repos on remote Security Onion nodes." - salt -C 'not *_eval and not *_helixsensor and not *_manager and not *_managersearch and not *_standalone and G@os:CentOS' state.apply repo.client -l info salt -C 'not *_eval and not *_helixsensor and not *_manager and not *_managersearch and not *_standalone and G@os:CentOS' cmd.run "yum clean all" echo "" fi