Update agent scripts

This commit is contained in:
Wes
2023-07-14 21:43:03 +00:00
parent 41f00c0aa1
commit 8cf3ceeb71
11 changed files with 156 additions and 4 deletions

View File

@@ -10,7 +10,7 @@
. /usr/sbin/so-elastic-fleet-common
{% if grains.role == 'so-heavynode' %}
docker exec so-elastic-agent /bin/elastic-agent inspect
docker exec so-elastic-agent /usr/share/elastic-agent/elastic-agent inspect
{% else %}
/bin/elastic-agent inspect
{% endif %}

View File

@@ -10,7 +10,7 @@
. /usr/sbin/so-elastic-fleet-common
{% if grains.role == 'so-heavynode' %}
docker exec so-elastic-agent /bin/elastic-agent status
docker exec so-elastic-agent /usr/share/elastic-agent/elastic-agent status
{% else %}
/bin/elastic-agent status
{% endif %}

View File

@@ -10,7 +10,7 @@
. /usr/sbin/so-elastic-fleet-common
{% if grains.role == 'so-heavynode' %}
docker exec so-elastic-agent /bin/elastic-agent version
docker exec so-elastic-agent /usr/share/elastic-agent/elastic-agent version
{% else %}
/bin/elastic-agent version
{% endif %}