mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
switch to symlink
This commit is contained in:
@@ -44,6 +44,13 @@ so-elastic-fleet-auto-configure-artifact-urls:
|
|||||||
cmd.run:
|
cmd.run:
|
||||||
- name: /usr/sbin/so-elastic-fleet-artifacts-url-update
|
- name: /usr/sbin/so-elastic-fleet-artifacts-url-update
|
||||||
- retry: True
|
- retry: True
|
||||||
|
|
||||||
|
elasticagentartifactssymlink:
|
||||||
|
file.symlink:
|
||||||
|
- name: /opt/so/saltstack/local/salt/beats
|
||||||
|
- target: /nsm/elastic-fleet/artifacts/beats
|
||||||
|
- user: socore
|
||||||
|
- group: socore
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Sync Elastic Agent artifacts to Fleet Node
|
# Sync Elastic Agent artifacts to Fleet Node
|
||||||
@@ -51,8 +58,7 @@ so-elastic-fleet-auto-configure-artifact-urls:
|
|||||||
elasticagent_syncartifacts:
|
elasticagent_syncartifacts:
|
||||||
file.recurse:
|
file.recurse:
|
||||||
- name: /nsm/elastic-fleet/artifacts/beats
|
- name: /nsm/elastic-fleet/artifacts/beats
|
||||||
- source: salt://beats?saltenv=elasticartifacts
|
- source: salt://beats
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if SERVICETOKEN != '' %}
|
{% if SERVICETOKEN != '' %}
|
||||||
|
|||||||
Reference in New Issue
Block a user