Logstash Module - Fix an issue with logstash config

This commit is contained in:
Mike Reeves
2018-05-24 21:01:48 -04:00
parent 652a0d0592
commit 4739f3e9e9
3 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@
{% if grains['role'] == 'so-master' %}
{% set nodetype = master %}
{% set nodetype = salt['grains.get']('role', '') %}
{% else %}

View File

@@ -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: