Skip to content

Instantly share code, notes, and snippets.

@thatch45
Created April 30, 2012 22:20
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 thatch45/2563169 to your computer and use it in GitHub Desktop.
Save thatch45/2563169 to your computer and use it in GitHub Desktop.
Install from source
'make && make install':
cmd.run:
- unless: 'cat /usr/bin/redis'
- require:
- cmd: 'git clone <redis source>'
'git clone <redis source>':
cmd.run:
- unless: 'test -e /usr/src/redis'
- cwd: /usr/src
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment