New so-allow

This commit is contained in:
Mike Reeves
2020-06-11 13:03:21 -04:00
parent 55e597d302
commit a37faff850

View File

@@ -83,7 +83,8 @@ if [ "$SKIP" -eq 0 ]; then
fi fi
echo "Adding $IP to the $FULLROLE role. This can take a few seconds" echo "Adding $IP to the $FULLROLE role. This can take a few seconds"
$default_salt_dir/pillar/firewall/addfirewall.sh $FULLROLE $IP /usr/sbin/so-firewall includehost $FULLROLE $IP
salt-call state.apply firewall queue=True
# Check if Wazuh enabled # Check if Wazuh enabled
if grep -q -R "wazuh: 1" $local_salt_dir/pillar/*; then if grep -q -R "wazuh: 1" $local_salt_dir/pillar/*; then