added models, wiki class, util funcs, layout files, view files

This commit is contained in:
Matthew Scragg 2013-09-28 16:09:02 -05:00
parent 967815bda5
commit 26137047cd
16 changed files with 238 additions and 48 deletions

View file

@ -3,14 +3,11 @@ rethink-repo:
- ppa: rethinkdb/ppa
rethinkdb:
user.present:
- shell: /bin/bash
- home: /home/rethinkdb
pkg:
- installed
service:
- running
- enable: True
- reload: True
- require:
- pkg: rethinkdb
python-pip:
pkg.installed
@ -26,3 +23,7 @@ rethinkdb-pip:
- pkg: python-pip
- pkg: rethinkdb
- pkg: build-essential
/etc/rethinkdb/rdb0.conf:
file.managed:
- source: salt://rethinkdb/rdb0.conf

View file

@ -0,0 +1,10 @@
runuser=rethinkdb
rungroup=rethinkdb
pid-file=/home/rethinkdb/rdb0/rethinkdb.pid
directory=/home/rethinkdb/rdb0
bind=all
driver-port=28015
cluster-port=29015
port-offset=0
http-port=20000
cores=2