IDH - states allowed

This commit is contained in:
Josh Brower
2022-02-09 13:57:18 -05:00
parent 30c40ed3d7
commit f31fbbf1ed
5 changed files with 7 additions and 19 deletions

View File

@@ -253,7 +253,7 @@ elif [ "$install_type" = 'FLEET' ]; then
OSQUERY=1
elif [ "$install_type" = 'IDH' ]; then
is_minion=true
is_idh_standalone=true
is_idh=true
IDH=1
elif [ "$install_type" = 'HELIXSENSOR' ]; then
is_helix=true
@@ -809,7 +809,7 @@ echo "1" > /root/accept_changes
set_progress_str 62 "$(print_salt_state_apply 'common')"
salt-call state.apply -l info common >> $setup_log 2>&1
if [[ ! $is_helix && ! $is_receiver ]]; then
if [[ ! $is_helix && ! $is_receiver && ! $is_idh ]]; then
set_progress_str 62 "$(print_salt_state_apply 'nginx')"
salt-call state.apply -l info nginx >> $setup_log 2>&1
fi