f87b238db5
This picks up the abandoned review: https://review.openstack.org/#/c/412423 Co-Authored-By: Sam Yaple <sam@yaple.net> Partially-Implements: blueprint monasca-roles Change-Id: Idc01afcb125271181ee5e15d327d0929f07b49e9
30 lines
830 B
Django/Jinja
30 lines
830 B
Django/Jinja
{
|
|
"command": "/opt/zookeeper/bin/zkServer.sh start-foreground /etc/zookeeper/conf/zoo.cfg",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/myid",
|
|
"dest": "/var/lib/zookeeper/data/myid",
|
|
"owner": "zookeeper",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/zookeeper.cfg",
|
|
"dest": "/etc/zookeeper/conf/zoo.cfg",
|
|
"owner": "zookeeper",
|
|
"perm": "0600"
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/lib/zookeeper",
|
|
"owner": "zookeeper:zookeeper",
|
|
"recurse": true
|
|
},
|
|
{
|
|
"path": "/var/log/kolla/zookeeper",
|
|
"owner": "zookeeper:zookeeper",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|