IDH - setup tweaks

This commit is contained in:
Josh Brower
2022-02-19 12:28:45 -05:00
parent bf477a1c19
commit 780cd38adf
3 changed files with 47 additions and 22 deletions

View File

@@ -271,6 +271,10 @@ if [[ $is_manager || $is_import ]]; then
check_elastic_license
fi
if [[ $is_idh ]]; then
collect_idh_services
fi
if ! [[ -f $install_opt_file ]]; then
if [[ $is_manager && $is_sensor ]]; then
check_requirements "standalone"
@@ -914,8 +918,9 @@ echo "1" > /root/accept_changes
fi
if [[ "$IDH" = 1 ]]; then
collect_idh_services()
if [[ $is_idh ]]; then
# Write out services to minion pillar file
write_out_idh_services
set_progress_str 79 "$(print_salt_state_apply 'idh')"
salt-call state.apply -l info idh >> $setup_log 2>&1