diff --git a/salt/common/tools/sbin/so-firewall b/salt/common/tools/sbin/so-firewall index 9da3bd32b..2a8aed0e7 100755 --- a/salt/common/tools/sbin/so-firewall +++ b/salt/common/tools/sbin/so-firewall @@ -91,6 +91,7 @@ fi # If you have reached this part of your quest then let's add the IP echo "Adding $IP to the $ROLE role" +echo "$IP" >> $local_salt_dir/hostgroups/$ROLE # Check to see if we are applying this right away. if [ "$APPLY" = "true" ]; then