Skip to content

Instantly share code, notes, and snippets.

@auser
Created May 22, 2013 21:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save auser/a49ca46e42b597f34088 to your computer and use it in GitHub Desktop.
Save auser/a49ca46e42b597f34088 to your computer and use it in GitHub Desktop.
{#...
#}
zookeeper:
file.symlink:
- name: /etc/init/zookeeper.conf
- target: {{ zk_home }}/bin/zkServer.sh
- require:
- cmd: extract-zookeeper
service.running:
- enable: True
- user: hadoop
- watch:
- file: {{ zk_home }}/conf/zoo.cfg
- pkg: java
- require:
- file: zookeeper
- file: {{ zk_home }}
- file: {{ zk_data_dir }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment