mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
mkdirs as needed
This commit is contained in:
@@ -39,23 +39,6 @@ eastatedir:
|
|||||||
- group: 939
|
- group: 939
|
||||||
- makedirs: True
|
- makedirs: True
|
||||||
|
|
||||||
# Pull down the Logstash Cert from the Manager
|
|
||||||
/opt/so/conf/elastic-fleet/certs/elasticfleet-logstash.p8:
|
|
||||||
file.managed:
|
|
||||||
- replace: True
|
|
||||||
- source: salt://elasticfleet/files/certs/elasticfleet-logstash.p8
|
|
||||||
- mode: 640
|
|
||||||
- user: 931
|
|
||||||
- group: 939
|
|
||||||
|
|
||||||
/opt/so/conf/elastic-fleet/certs/elasticfleet-logstash.crt:
|
|
||||||
file.managed:
|
|
||||||
- replace: True
|
|
||||||
- source: salt://elasticfleet/files/certs/elasticfleet-logstash.crt
|
|
||||||
- mode: 640
|
|
||||||
- user: 931
|
|
||||||
- group: 939
|
|
||||||
|
|
||||||
|
|
||||||
{% if SERVICETOKEN != '' %}
|
{% if SERVICETOKEN != '' %}
|
||||||
so-elastic-fleet:
|
so-elastic-fleet:
|
||||||
|
|||||||
@@ -330,6 +330,7 @@ eflogstashcrtlink:
|
|||||||
file.managed:
|
file.managed:
|
||||||
- replace: True
|
- replace: True
|
||||||
- source: salt://elasticfleet/files/certs/elasticfleet-logstash.p8
|
- source: salt://elasticfleet/files/certs/elasticfleet-logstash.p8
|
||||||
|
- makedirs: True
|
||||||
- mode: 640
|
- mode: 640
|
||||||
- user: 931
|
- user: 931
|
||||||
- group: 939
|
- group: 939
|
||||||
@@ -338,6 +339,7 @@ eflogstashcrtlink:
|
|||||||
file.managed:
|
file.managed:
|
||||||
- replace: True
|
- replace: True
|
||||||
- source: salt://elasticfleet/files/certs/elasticfleet-logstash.crt
|
- source: salt://elasticfleet/files/certs/elasticfleet-logstash.crt
|
||||||
|
- makedirs: True
|
||||||
- mode: 640
|
- mode: 640
|
||||||
- user: 931
|
- user: 931
|
||||||
- group: 939
|
- group: 939
|
||||||
|
|||||||
Reference in New Issue
Block a user