Use GO zkcli instead of trash BASH one

With Debian 12+ the interactive zkCli.sh is completely broken, failing
to load the JLine module regardless of what is done, and no one in the
project seems to care about that.

Instead let's swap this out for the (non-interactive) GO-based zkcli of
https://github.com/go-zkcli/zkcli instead, as this suits our needs
nicely.
This commit is contained in:
Joshua Boniface 2023-12-13 15:48:12 -05:00
parent b2a7eecf2c
commit 9842f628a3
2 changed files with 3 additions and 3 deletions

View File

@ -102,9 +102,8 @@ alias virsh='sudo virsh -c qemu:///system'
alias ceph='sudo ceph' alias ceph='sudo ceph'
alias rbd='sudo rbd' alias rbd='sudo rbd'
# Cool aliases # PVC subsystem aliases
alias cccp='sudo rsync -auv --progress' alias zk='/usr/bin/zkcli --servers $(hostname -s):2181'
alias zkcli='sudo /usr/share/zookeeper/bin/zkCli.sh -server $(hostname -s):2181'
alias patronictl='sudo -E patronictl -c /etc/patroni/config.yml' alias patronictl='sudo -E patronictl -c /etc/patroni/config.yml'
# #

View File

@ -4,6 +4,7 @@
name: name:
- zookeeper - zookeeper
- zookeeper-bin - zookeeper-bin
- zkcli
state: latest state: latest
register: apt_res register: apt_res
retries: 5 retries: 5