Initial support - IDH Node

This commit is contained in:
Josh Brower
2022-02-07 14:36:40 -05:00
parent c9b40d8569
commit 9b1fac8417
7 changed files with 191 additions and 1 deletions

View File

@@ -251,6 +251,10 @@ elif [ "$install_type" = 'FLEET' ]; then
is_minion=true
is_fleet_standalone=true
OSQUERY=1
elif [ "$install_type" = 'IDH' ]; then
is_minion=true
is_idh_standalone=true
IDH=1
elif [ "$install_type" = 'HELIXSENSOR' ]; then
is_helix=true
elif [ "$install_type" = 'IMPORT' ]; then
@@ -910,6 +914,13 @@ echo "1" > /root/accept_changes
fi
if [[ "$IDH" = 1 ]]; then
set_progress_str 79 "$(print_salt_state_apply 'idh')"
salt-call state.apply -l info idh >> $setup_log 2>&1
fi
if [[ "$WAZUH" = 1 ]]; then
set_progress_str 79 "$(print_salt_state_apply 'wazuh')"
salt-call state.apply -l info wazuh >> $setup_log 2>&1