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

45 lines
783 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:
2014-08-20 18:28:25 +03:00
- pkg: common-pkgs
2013-12-02 18:02:53 +02:00
2014-02-07 05:40:58 +02:00
uglify-js:
npm.installed:
- user: root
- require:
2014-08-20 18:28:25 +03:00
- pkg: common-pkgs
2014-02-07 05:40:58 +02:00
create_virtualenv:
2013-12-03 00:23:43 +02:00
virtualenv.managed:
2014-02-07 05:40:58 +02:00
- name: /home/deploy/virtualenvs/realms
2013-12-03 00:23:43 +02:00
- requirements: /home/deploy/realms/requirements.txt
- cwd: /home/deploy/realms
2014-02-07 05:40:58 +02:00
- user: root
vagrant_ownership:
cmd.run:
- name: chown -R vagrant.vagrant /home/deploy
- onlyif: test -d /vagrant
- user: root
2013-12-03 00:23:43 +02:00
2014-02-07 05:40:58 +02:00
deploy_ownership:
cmd.run:
- name: chown -R vagrant.vagrant /home/deploy
- unless: test -d /vagrant
- user: root