Skip to content

Instantly share code, notes, and snippets.

@UtahDave
Last active August 29, 2015 14:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save UtahDave/8a901bee43ab115aee4f to your computer and use it in GitHub Desktop.
Save UtahDave/8a901bee43ab115aee4f to your computer and use it in GitHub Desktop.
Salt State for RethinkDB on Ubuntu
setup_repo:
pkgrepo.managed:
- humanname: RethinkDB Repo
- name: deb http://download.rethinkdb.com/apt {{ grains['oscodename'] }} main
- file: /etc/apt/sources.list.d/rethinkdb.list
- key_url: http://download.rethinkdb.com/apt/pubkey.gpg
- require_in:
- pkg: rethinkdb
rethinkdb:
pkg:
- installed
@UtahDave
Copy link
Author

I've only tested this on Trusty, but it should work on any RethinkDB supported Ubuntu version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment