Skip to content

Instantly share code, notes, and snippets.

@dginther
Created July 26, 2013 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dginther/6091522 to your computer and use it in GitHub Desktop.
Save dginther/6091522 to your computer and use it in GitHub Desktop.
redis-repo:
pkgrepo.managed:
- humanname: Redis PPA
- ppa: rwky/redis
- require_in: redis
redis:
pkg:
- installed
- name: redis-server
- require:
- pkgrepo: redis-repo
service:
- name: redis-server
- enable: True
- running
- watch:
- file: /etc/redis/redis.conf
- file: /var/lib/redis/*
- require:
- pkg: redis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment