Firewall Module - Update Rules and apply them to SN

This commit is contained in:
Mike Reeves
2018-10-10 14:03:39 -04:00
parent a44c3e62d2
commit bf229f65e3
3 changed files with 54 additions and 0 deletions

View File

@@ -621,6 +621,8 @@ set_initial_firewall_policy() {
get_main_ip
if [ $INSTALLTYPE == 'MASTERONLY' ]; then
printf " - $MAINIP\n" >> /opt/so/saltstack/pillar/firewall/minions.sls
printf " - $MAINIP\n" >> /opt/so/saltstack/pillar/firewall/masterfw.sls
fi
if [ $INSTALLTYPE == 'SENSORONLY' ]; then