Try and Fix certs

This commit is contained in:
Mike Reeves
2018-10-31 20:00:55 -04:00
parent d15ae474c6
commit 305c80b115
2 changed files with 2 additions and 2 deletions

View File

@@ -63,5 +63,4 @@ so-filebeat:
- /opt/so/log/suricata:/suricata:ro
- /opt/so/conf/filebeat/etc/pki/filebeat.crt:/usr/share/filebeat/filebeat.crt:ro
- /opt/so/conf/filebeat/etc/pki/filebeat.key:/usr/share/filebeat/filebeat.key:ro
- /opt/so/conf/filebeat/etc/pki/filebeat.p8:/usr/share/filebeat/filebeat.p8:ro
- /etc/ssl/certs/intca.crt:/usr/share/filebeat/intraca.crt:ro

View File

@@ -16,7 +16,8 @@ m2cryptopkgs:
- python-m2crypto
{% endif %}
{% if grains['role'] == 'so-master' %}
{% if grains['role'] == 'so-master' or grains['role'] == 'so-eval' %}
# Request a cert and drop it where it needs to go to be distributed
/etc/pki/filebeat.crt:
x509.certificate_managed: