mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
fix soup
This commit is contained in:
@@ -439,8 +439,8 @@ 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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user