This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
operation-and-maintenance-a…/bigdata-scripts_test3/roles/kafka/templates/set_kafka_profile.sh.j2
2020-03-10 19:52:21 +08:00

7 lines
216 B
Django/Jinja
Executable File

#!/bin/bash
#
echo -e "\n#kafka" >> /etc/profile
echo -e "export KAFKA_HOME={{ kafka.base_dir }}/{{ kafka.version }}" >> /etc/profile
echo -e "export PATH=\$KAFKA_HOME/bin:\$PATH" >> /etc/profile
source /etc/profile