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

30 lines
459 B
Plaintext
Raw Normal View History

2013-09-25 23:27:25 +03:00
rethink-repo:
pkgrepo.managed:
- ppa: rethinkdb/ppa
rethinkdb:
user.present:
- shell: /bin/bash
- home: /home/rethinkdb
2013-09-25 23:27:25 +03:00
pkg:
- installed
python-pip:
pkg.installed
build-essential:
pkg.installed
rethinkdb-pip:
pip:
- name: rethinkdb
- installed
- require:
- pkg: python-pip
- pkg: rethinkdb
- pkg: build-essential
/etc/rethinkdb/rdb0.conf:
file.managed:
- source: salt://rethinkdb/rdb0.conf