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
- schedule
- docker_clean
- elastic-fleet
'*_receiver and G@saltversion:{{saltversion}}':
- match: compound

View File

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