Merge pull request #13368 from Security-Onion-Solutions/reyesj2/kfps

fix kafka-logstash cert for searchnodes
This commit is contained in:
Jorge Reyes
2024-07-21 20:11:42 -04:00
committed by GitHub
2 changed files with 7 additions and 0 deletions

View File

@@ -18,7 +18,12 @@ include:
- kafka.nodes - kafka.nodes
{% endif %} {% endif %}
{% if GLOBALS.pipeline == "KAFKA" and KAFKAMERGED.enabled %} {% if GLOBALS.pipeline == "KAFKA" and KAFKAMERGED.enabled %}
{% if grains.role in ['so-manager', 'so-managersearch', 'so-standalone', 'so-receiver'] %}
- kafka.enabled - kafka.enabled
{# Searchnodes only run kafka.ssl state when Kafka is enabled #}
{% elif grains.role == "so-searchnode" %}
- kafka.ssl
{% endif %}
{% else %} {% else %}
- kafka.disabled - kafka.disabled
{% endif %} {% endif %}

View File

@@ -155,6 +155,7 @@ base:
- nginx - nginx
- elasticfleet.install_agent_grid - elasticfleet.install_agent_grid
- stig - stig
- kafka
'*_managersearch and G@saltversion:{{saltversion}}': '*_managersearch and G@saltversion:{{saltversion}}':
- match: compound - match: compound
@@ -184,6 +185,7 @@ base:
- utility - utility
- elasticfleet - elasticfleet
- stig - stig
- kafka
'*_heavynode and G@saltversion:{{saltversion}}': '*_heavynode and G@saltversion:{{saltversion}}':
- match: compound - match: compound