From aa5063c5df2c4ff8aacd2c3eda3167c950998fd1 Mon Sep 17 00:00:00 2001 From: Josh Brower Date: Wed, 19 Apr 2023 11:11:08 -0400 Subject: [PATCH] Gen installers at the end setup --- salt/common/tools/sbin/so-elastic-fleet-setup | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/salt/common/tools/sbin/so-elastic-fleet-setup b/salt/common/tools/sbin/so-elastic-fleet-setup index 7fe336625..1ddb62735 100755 --- a/salt/common/tools/sbin/so-elastic-fleet-setup +++ b/salt/common/tools/sbin/so-elastic-fleet-setup @@ -85,4 +85,8 @@ printf '%s\n'\ "" >> "$global_pillar_file" # Call Elastic-Fleet Salt State -salt-call state.apply elasticfleet queue=True \ No newline at end of file +salt-call state.apply elasticfleet queue=True + +# Generate installers & install Elastic Agent on the node +so-elastic-agent-gen-installers +salt-call state.apply elasticfleet.install_agent_grid queue=True \ No newline at end of file