Logstash certs fixup

This commit is contained in:
Josh Brower
2023-04-17 11:34:57 -04:00
parent a7d282b412
commit 1944d09978
5 changed files with 24 additions and 7 deletions
+17
View File
@@ -325,6 +325,23 @@ eflogstashcrtlink:
- group: socore
{% endif %}
/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
{% endif %}
{% if grains['role'] in ['so-manager', 'so-eval', 'so-helix', 'so-managersearch', 'so-standalone', 'so-import', 'so-heavynode', 'so-receiver'] %}