Filebeat Module - Make cert directory for filebeat

This commit is contained in:
Mike Reeves
2018-09-25 13:31:02 -04:00
parent 27fce4973c
commit 1b408ce9ed

View File

@@ -63,6 +63,12 @@ fbcrtlink:
{% endif %} {% endif %}
{% if grains['role'] == 'so-SENSOR' %} {% if grains['role'] == 'so-SENSOR' %}
fbcertdir:
file.directory:
- name: /opt/so/conf/filebeat/etc/pki
- mkdirs: True
# 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
/opt/so/conf/filebeat/etc/pki/filebeat.crt: /opt/so/conf/filebeat/etc/pki/filebeat.crt:
x509.certificate_managed: x509.certificate_managed: