Installs and configures a zookeeper cluster
$ git clone --recursive [email protected]:balanced-cookbooks/infra-zookeeper.git
$ git submodule update --init --recursive
$ cd infra-zookeeper
$ mkvirtualenv infra-zookeeper
(infra-zookeeperg)$ pip install -r requirements.txt
vagrant plugin install vagrant-hostmanager
vagrant up
ANSIBLE_HOST_KEY_CHECKING=False ansible zk1.vm -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory --user vagrant -o -m shell -a 'echo create /test WORKS | /opt/zookeeper*/bin/zkCli.sh'
ANSIBLE_HOST_KEY_CHECKING=False ansible zk2.vm -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory --user vagrant -o -m shell -a 'echo get /test | /opt/zookeeper*/bin/zkCli.sh'
(infra-vault)$ pypi_username=user pypi_password=pass vagrant provision infra-zookeeper
(infra-vault)$ vagrant ssh infra-zookeeper -c "source ~/infra/bin/activate && cd ~/infra-zookeeper/ && confu pkg clean && confu pkg build"
(infra-vault)$ confu pkg archive