mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
[fix] Don't use ZEEKVERSION var, check pillar value
This commit is contained in:
@@ -743,7 +743,7 @@ set_redirect >> $setup_log 2>&1
|
||||
set_progress_str 66 "$(print_salt_state_apply 'suricata')"
|
||||
salt-call state.apply -l info suricata >> $setup_log 2>&1
|
||||
|
||||
if [[ $ZEEKVERSION == 'ZEEK' ]]; then
|
||||
if [[ $(lookup_pillar "mdengine") == 'ZEEK' ]]; then
|
||||
set_progress_str 67 "$(print_salt_state_apply 'zeek')"
|
||||
salt-call state.apply -l info zeek >> $setup_log 2>&1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user