Skip to content

Instantly share code, notes, and snippets.

@SEJeff
Created May 12, 2012 21:30
Show Gist options
  • Save SEJeff/2669205 to your computer and use it in GitHub Desktop.
Save SEJeff/2669205 to your computer and use it in GitHub Desktop.
Good example state that configures redis
/etc/redis/redis.conf:
file.managed:
- source: salt://redis/redis.conf
- user: redis
- group: redis
- mode: 644
- template: jinja
- require:
- file: /etc/redis
- cmd: 'make && make install'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment