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