move addon integration script run to elasticfleet state

Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
This commit is contained in:
reyesj2
2025-01-06 14:42:16 -06:00
parent 0d49dee46e
commit 3d3f0460fa
2 changed files with 4 additions and 7 deletions

View File

@@ -172,13 +172,6 @@ so-elasticsearch-ilm-policy-load:
- onchanges:
- file: so-elasticsearch-ilm-policy-load-script
configure-addon-fleet-integrations:
cmd.run:
- name: /usr/sbin/so-elastic-fleet-optional-integrations-load
- cwd: /opt/so
- require:
- docker_container: so-elasticsearch
so-elasticsearch-templates-reload:
file.absent:
- name: /opt/so/state/estemplates.txt