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:
@ -102,9 +102,8 @@ alias virsh='sudo virsh -c qemu:///system'
|
||||
alias ceph='sudo ceph'
|
||||
alias rbd='sudo rbd'
|
||||
|
||||
# Cool aliases
|
||||
alias cccp='sudo rsync -auv --progress'
|
||||
alias zkcli='sudo /usr/share/zookeeper/bin/zkCli.sh -server $(hostname -s):2181'
|
||||
# PVC subsystem aliases
|
||||
alias zk='/usr/bin/zkcli --servers $(hostname -s):2181'
|
||||
alias patronictl='sudo -E patronictl -c /etc/patroni/config.yml'
|
||||
|
||||
#
|
||||
|
@ -4,6 +4,7 @@
|
||||
name:
|
||||
- zookeeper
|
||||
- zookeeper-bin
|
||||
- zkcli
|
||||
state: latest
|
||||
register: apt_res
|
||||
retries: 5
|
||||
|
Reference in New Issue
Block a user