Install zoo.cfg into the proper directory
It looks like there is a bug where zookeeper_file_zoo_conf_dest isn't setup properly on debubuntu. Support both now. Change-Id: I9ecd3171005f162dcae3d03f0178a40b9626e104 Depends-On: https://review.openstack.org/622292 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
4dd7a241b1
commit
16b495b358
@ -19,11 +19,9 @@ zookeeper_task_manager:
|
|||||||
- service
|
- service
|
||||||
|
|
||||||
# tasks/config.yaml
|
# tasks/config.yaml
|
||||||
zookeeper_file_zoo_conf_dest: /etc/zookeeper/zoo.cfg
|
|
||||||
zookeeper_file_zoo_conf_group: zookeeper
|
zookeeper_file_zoo_conf_group: zookeeper
|
||||||
zookeeper_file_zoo_conf_mode: 0644
|
zookeeper_file_zoo_conf_mode: 0644
|
||||||
zookeeper_file_zoo_conf_owner: zookeeper
|
zookeeper_file_zoo_conf_owner: zookeeper
|
||||||
zookeeper_file_zoo_conf_src: etc/zookeeper/zoo.cfg
|
|
||||||
|
|
||||||
# tasks/install.yaml
|
# tasks/install.yaml
|
||||||
zookeeper_package_state: installed
|
zookeeper_package_state: installed
|
||||||
|
@ -26,3 +26,6 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
__zookeeper_package_name: zookeeperd
|
__zookeeper_package_name: zookeeperd
|
||||||
|
|
||||||
|
zookeeper_file_zoo_conf_dest: /etc/zookeeper/conf/zoo.cfg
|
||||||
|
zookeeper_file_zoo_conf_src: etc/zookeeper/conf/zoo.cfg
|
||||||
|
@ -13,3 +13,7 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
__zookeeper_package_name: zookeeper
|
__zookeeper_package_name: zookeeper
|
||||||
|
|
||||||
|
zookeeper_file_zoo_conf_dest: /etc/zookeeper/zoo.cfg
|
||||||
|
# NOTE(pabelanger): Avoid creating a symlink, and point to Debian version.
|
||||||
|
zookeeper_file_zoo_conf_src: etc/zookeeper/conf/zoo.cfg
|
||||||
|
Loading…
Reference in New Issue
Block a user