added salt scripts back

This commit is contained in:
Matthew 2013-12-02 10:02:53 -06:00
parent 36cf728862
commit 810845441c
15 changed files with 339 additions and 0 deletions

28
srv/salt/realms/init.sls Normal file
View file

@ -0,0 +1,28 @@
python-dev:
pkg.installed
build-essential:
pkg.installed
python-pip:
pkg.installed
virtualenvwrapper:
pip.installed:
- require:
- pkg: python-pip
bower:
npm.installed:
- 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