realms-wiki/srv/salt/realms/init.sls

36 lines
635 B
Plaintext
Raw Normal View History

2013-12-02 18:02:53 +02:00
python-dev:
pkg.installed
build-essential:
pkg.installed
python-pip:
pkg.installed
virtualenvwrapper:
pip.installed:
- require:
- pkg: python-pip
bower:
npm.installed:
2013-12-03 00:23:43 +02:00
- user: root
2013-12-02 18:02:53 +02:00
- require:
- pkg.installed: common-pkgs
realms-repo:
git.latest:
- unless: test -e /vagrant
- name: git@github.com:scragg0x/realms.git
- target: /home/deploy
- rev: master
- user: deploy
- identity: /home/deploy/.ssh/id_rsa
2013-12-03 00:23:43 +02:00
/home/deploy/virtualenvs/realms:
virtualenv.managed:
- requirements: /home/deploy/realms/requirements.txt
- cwd: /home/deploy/realms
- runas: deploy