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:
parent
b2a7eecf2c
commit
9842f628a3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue