distributed testing

This commit is contained in:
Jason Ertel
2023-03-09 15:04:42 -05:00
parent 894a20b3ad
commit 23b344bf14
3 changed files with 21 additions and 2 deletions

View File

@@ -2303,6 +2303,9 @@ set_initial_firewall_access() {
if [[ ! -z "$ALLOW_CIDR" ]]; then
$default_salt_dir/salt/common/tools/sbin/so-firewall --role=analyst --ip=$ALLOW_CIDR --apply=true
fi
if [[ ! -z "$MINION_CIDR" ]]; then
$default_salt_dir/salt/common/tools/sbin/so-firewall --role=sensors --ip=$MINION_CIDR --apply=true
fi
}
# Set up the management interface on the ISO