mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-19 07:23:06 +01:00
add so-manager to kafka.nodes pillar
This commit is contained in:
@@ -63,6 +63,8 @@ kafka_sbin_jinja_tools:
|
||||
- group: 960
|
||||
- file_mode: 755
|
||||
- template: jinja
|
||||
- defaults:
|
||||
GLOBALS: {{ GLOBALS }}
|
||||
|
||||
kakfa_log_dir:
|
||||
file.directory:
|
||||
@@ -79,12 +81,9 @@ kafka_data_dir:
|
||||
- makedirs: True
|
||||
|
||||
kafka_keystore_script:
|
||||
cmd.script:
|
||||
- source: salt://kafka/tools/sbin_jinja/so-kafka-generate-keystore
|
||||
- template: jinja
|
||||
cmd.run:
|
||||
- name: /usr/sbin/so-kafka-generate-keystore
|
||||
- cwd: /opt/so
|
||||
- defaults:
|
||||
GLOBALS: {{ GLOBALS }}
|
||||
|
||||
kafka_kraft_server_properties:
|
||||
file.managed:
|
||||
@@ -106,4 +105,4 @@ kafka_kraft_server_properties:
|
||||
test.fail_without_changes:
|
||||
- name: {{sls}}_state_not_allowed
|
||||
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
@@ -13,4 +13,4 @@ if [ ! -f /etc/pki/kafka.jks ]; then
|
||||
docker rm so-kafka-keystore
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user