Files
securityonion/salt/elastic-fleet/install_agent_grid.sls
Mike Reeves 2bd9dd80e2 Move In Day
2022-09-07 09:06:25 -04:00

14 lines
479 B
Plaintext

# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one
# or more contributor license agreements. Licensed under the Elastic License 2.0; you may not use
# this file except in compliance with the Elastic License 2.0.
{% set AGENT_STATUS = salt['service.available']('elastic-agent') %}
{% if not AGENT_STATUS %}
run_installer:
cmd.run:
- name: salt://elastic-fleet/files/so_agent-installers/so-elastic-agent_linux
{% endif %}