Skip to content

Instantly share code, notes, and snippets.

@gnunicorn
Created October 12, 2012 14:50
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 gnunicorn/3879579 to your computer and use it in GitHub Desktop.
Save gnunicorn/3879579 to your computer and use it in GitHub Desktop.
include:
- git
repo:
git.latest:
- name: ssh://git@bitbucket.org/crowdbet/infrastructure.git
- rev : master
- target: /home/ubuntu/crowdbet
- runas: ubuntu
- require:
- pkg: git
bootstrap:
cmd.wait:
- name: python2.7 bootstrap.py
- unless: /usr/bin/test -f bin/buildout
- cwd: /home/ubuntu/crowdbet
- user: ubuntu
- group: ubuntu
- watch:
- git: repo
buildout:
cmd.run:
- name: bin/buildout
- cwd: /home/ubuntu/crowdbet
- user: ubuntu
- group: ubuntu
- require:
- git: repo
- cmd: bootstrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment