Update so-functions

This commit is contained in:
Mike Reeves
2023-05-05 11:26:10 -04:00
committed by GitHub
parent d7972032e4
commit 77cbf35625

View File

@@ -2289,11 +2289,11 @@ set_initial_firewall_policy() {
set_initial_firewall_access() {
if [[ ! -z "$ALLOW_CIDR" ]]; then
$default_salt_dir/salt/common/tools/sbin/so-firewall includehost analyst $ALLOW_CIDR --apply
so-firewall includehost analyst $ALLOW_CIDR --apply
fi
if [[ ! -z "$MINION_CIDR" ]]; then
$default_salt_dir/salt/common/tools/sbin/so-firewall includehost sensors $MINION_CIDR
$default_salt_dir/salt/common/tools/sbin/so-firewall includehost searchnodes $MINION_CIDR --apply
so-firewall includehost sensors $MINION_CIDR
so-firewall includehost searchnodes $MINION_CIDR --apply
fi
}