From 074158b4950cf7801269e9870c0c149399145c4e Mon Sep 17 00:00:00 2001 From: Josh Patterson Date: Fri, 16 Jan 2026 17:42:00 -0500 Subject: [PATCH] discard so-elasticsearch-templates-load running again during setup --- salt/elasticfleet/enabled.sls | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/salt/elasticfleet/enabled.sls b/salt/elasticfleet/enabled.sls index fc9c38aaf..db10a7182 100644 --- a/salt/elasticfleet/enabled.sls +++ b/salt/elasticfleet/enabled.sls @@ -188,19 +188,6 @@ so-elastic-defend-manage-filters-file-watch: {% endif %} {% endif %} -{# this block exists to rerun so-elasticsearch-templates-load during setup #} -{# currently the script has a check if /usr/sbin/so-elastic-fleet-common exists before allowing templates to load #} -{# that prevents the templates from being loaded during the initial highstate #} -{% if GLOBALS.is_manager %} -so-elasticsearch-templates-elasticfleet-ready: - cmd.run: - - name: /usr/sbin/so-elasticsearch-templates-load - - cwd: /opt/so - - require: - - docker_container: so-elastic-fleet - - onlyif: pgrep so-setup -{% endif %} - delete_so-elastic-fleet_so-status.disabled: file.uncomment: - name: /opt/so/conf/so-status/so-status.conf