mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
Fix for Salt Master Firewall
This commit is contained in:
@@ -9,5 +9,5 @@ if grep -q $2 "/opt/so/saltstack/pillar/firewall/$1.sls"; then
|
||||
echo "Firewall Rule Already There"
|
||||
else
|
||||
echo " - $2" >> /opt/so/saltstack/pillar/firewall/$1.sls
|
||||
salt-call state.apply firewall
|
||||
salt-call state.apply firewall queue=True
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user