Allow 'elastic-fleet' state to be applied for Import Mode

This commit is contained in:
Wes
2023-01-25 14:07:25 +00:00
parent 506baa854d
commit 1414b75e01
2 changed files with 4 additions and 3 deletions

View File

@@ -344,6 +344,7 @@ base:
- zeek - zeek
- schedule - schedule
- docker_clean - docker_clean
- elastic-fleet
'*_receiver and G@saltversion:{{saltversion}}': '*_receiver and G@saltversion:{{saltversion}}':
- match: compound - match: compound

View File

@@ -577,9 +577,9 @@ if ! [[ -f $install_opt_file ]]; then
add_web_user add_web_user
info "Restarting SOC to pick up initial user" info "Restarting SOC to pick up initial user"
logCmd "so-soc-restart" logCmd "so-soc-restart"
if [[ ! $is_import ]]; then title "Setting up Elastic Fleet"
title "Setting up Elastic Fleet" logCmd "so-elastic-fleet-setup"
logCmd "so-elastic-fleet-setup" if [[ ! $is_import ]]; then
title "Setting up Playbook" title "Setting up Playbook"
logCmd "so-playbook-reset" logCmd "so-playbook-reset"
fi fi