mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
Merge pull request #13204 from Security-Onion-Solutions/kaffix
Only comment out so-kafka from so-status when it exists & only run en…
This commit is contained in:
@@ -3,6 +3,9 @@
|
|||||||
# https://securityonion.net/license; you may not use this file except in compliance with the
|
# https://securityonion.net/license; you may not use this file except in compliance with the
|
||||||
# Elastic License 2.0.
|
# Elastic License 2.0.
|
||||||
|
|
||||||
|
{% from 'kafka/map.jinja' import KAFKAMERGED %}
|
||||||
|
{% from 'vars/globals.map.jinja' import GLOBALS %}
|
||||||
|
|
||||||
so-kafka:
|
so-kafka:
|
||||||
docker_container.absent:
|
docker_container.absent:
|
||||||
- force: True
|
- force: True
|
||||||
@@ -11,8 +14,9 @@ so-kafka_so-status.disabled:
|
|||||||
file.comment:
|
file.comment:
|
||||||
- name: /opt/so/conf/so-status/so-status.conf
|
- name: /opt/so/conf/so-status/so-status.conf
|
||||||
- regex: ^so-kafka$
|
- regex: ^so-kafka$
|
||||||
|
- onlyif: grep -q '^so-kafka$' /opt/so/conf/so-status/so-status.conf
|
||||||
|
|
||||||
{% if grains.role in ['so-manager','so-managersearch','so-standalone'] %}
|
{% if GLOBALS.is_manager and KAFKAMERGED.enabled or GLOBALS.pipeline == "KAFKA" %}
|
||||||
ensure_default_pipeline:
|
ensure_default_pipeline:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
- name: |
|
- name: |
|
||||||
|
|||||||
Reference in New Issue
Block a user