mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
Use salt file roots
This commit is contained in:
@@ -45,12 +45,6 @@ so-elastic-fleet-auto-configure-artifact-urls:
|
|||||||
- 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
|
||||||
@@ -58,7 +52,7 @@ elasticagentartifactssymlink:
|
|||||||
elasticagent_syncartifacts:
|
elasticagent_syncartifacts:
|
||||||
file.recurse:
|
file.recurse:
|
||||||
- name: /nsm/elastic-fleet/artifacts/beats
|
- name: /nsm/elastic-fleet/artifacts/beats
|
||||||
- source: salt://beats
|
- source: salt://beats?saltenv=elasticartifacts
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if SERVICETOKEN != '' %}
|
{% if SERVICETOKEN != '' %}
|
||||||
|
|||||||
Reference in New Issue
Block a user