Merge pull request #845 from Security-Onion-Solutions/bugfix/standalonessl

fix issue with ssl state that prevented other node types being adding…
This commit is contained in:
Josh Patterson
2020-06-12 16:25:43 -04:00
committed by GitHub

View File

@@ -13,7 +13,7 @@
{% else %} {% else %}
{% set x509dict = salt['mine.get']('*', 'x509.get_pem_entries') %} {% set x509dict = salt['mine.get']('*', 'x509.get_pem_entries') %}
{% for host in x509dict %} {% for host in x509dict %}
{% if 'master' in host.split('_')|last %} {% if 'master' in host.split('_')|last or host.split('_')|last == 'standalone' %}
{% do global_ca_text.append(x509dict[host].get('/etc/pki/ca.crt')|replace('\n', '')) %} {% do global_ca_text.append(x509dict[host].get('/etc/pki/ca.crt')|replace('\n', '')) %}
{% do global_ca_server.append(host) %} {% do global_ca_server.append(host) %}
{% endif %} {% endif %}