19 lines
612 B
Django/Jinja
19 lines
612 B
Django/Jinja
{% set zk_path = '/usr/share/zookeeper/bin' if kolla_base_distro in ['ubuntu', 'debian'] else '/opt/mesosphere/zookeeper/bin' %}
|
|
{
|
|
"command": "{{ zk_path }}/zkServer.sh start-foreground",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/zoo.cfg",
|
|
"dest": "/etc/zookeeper/conf/zoo.cfg",
|
|
"owner": "zookeeper",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/myid",
|
|
"dest": "/var/lib/zookeeper/myid",
|
|
"owner": "zookeeper",
|
|
"perm": "0600"
|
|
}
|
|
]
|
|
}
|