mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 18:22:47 +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')"
|
set_progress_str 66 "$(print_salt_state_apply 'suricata')"
|
||||||
salt-call state.apply -l info suricata >> $setup_log 2>&1
|
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')"
|
set_progress_str 67 "$(print_salt_state_apply 'zeek')"
|
||||||
salt-call state.apply -l info zeek >> $setup_log 2>&1
|
salt-call state.apply -l info zeek >> $setup_log 2>&1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user