remove state files

This commit is contained in:
reyesj2
2025-02-13 08:51:50 -06:00
parent c711ffe6c5
commit 03b76cbcf5

View File

@@ -538,8 +538,8 @@ post_to_2.4.120() {
}
post_to_2.4.130() {
# Integrations policies need to be updated
rm -f /opt/so/state/eaintegrations.txt
# Integrations policies need to be updated, along with ingest pipelines & index templates.
rm -f /opt/so/state/eaintegrations.txt /opt/so/state/espipelines.txt /opt/so/state/estemplates.txt
# Sync the newly generated index templates for elasticfleet integrations
salt-call state.apply elasticsearch queue=True