Skip to content

Commit

Permalink
Merge pull request #13020 from Security-Onion-Solutions/issue/13012
Browse files Browse the repository at this point in the history
Issue/13012
  • Loading branch information
m0duspwnens authored May 15, 2024
2 parents 795de7a + 3a56058 commit 08024c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions salt/manager/tools/sbin/soup
Original file line number Diff line number Diff line change
Expand Up @@ -438,9 +438,9 @@ post_to_2.4.60() {
}

post_to_2.4.70() {
echo "Removing idh.services from IDH node pillar files"
for file in /opt/so/saltstack/local/pillar/minions/*_idh.sls; do
if [[ ! $file =~ "/opt/so/saltstack/local/pillar/minions/adv_" ]]; then
echo "Removing idh.services from any existing IDH node pillar files"
for file in /opt/so/saltstack/local/pillar/minions/*.sls; do
if [[ $file =~ "_idh.sls" && ! $file =~ "/opt/so/saltstack/local/pillar/minions/adv_" ]]; then
echo "Removing idh.services from: $file"
so-yaml.py remove "$file" idh.services
fi
Expand Down

0 comments on commit 08024c7

Please sign in to comment.