add so-manager to kafka.nodes pillar

This commit is contained in:
m0duspwnens
2024-04-03 08:52:26 -04:00
parent 4e142e0212
commit 639bf05081
3 changed files with 8 additions and 9 deletions

View File

@@ -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 %}

View File

@@ -13,4 +13,4 @@ if [ ! -f /etc/pki/kafka.jks ]; then
docker rm so-kafka-keystore
else
exit 0
fi
fi