mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 10:42:54 +01:00
Logstash Module - Fix an issue with logstash config
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
{% if grains['role'] == 'so-master' %}
|
||||
|
||||
{% set nodetype = master %}
|
||||
{% set nodetype = salt['grains.get']('role', '') %}
|
||||
|
||||
{% else %}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
/usr/local/share/ca-certificates/intca.crt:
|
||||
x509.pem_managed:
|
||||
- text: {{ salt['mine.get']('master', 'x509.get_pem_entries')['ca']['/etc/pki/ca.crt']|replace('\n', '') }}
|
||||
- text: {{ salt['mine.get']('master', 'x509.get_pem_entries')['master']['/etc/pki/ca.crt']|replace('\n', '') }}
|
||||
|
||||
# Request a cert and drop it where it needs to go to be distributed
|
||||
/etc/pki/filebeat.crt:
|
||||
|
||||
Reference in New Issue
Block a user