Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (17 sloc) 947 Bytes
Puppet module for installation Redis on Debian/Ubuntu
Installs init.d script /etc/init.d/redis-server
Config file goes to /etc/redis.conf
Contains definition redis_source, which allows you
to configure following parameters:
$version - version of the redis you want to install
$path - path where you want to install it
$owner/$group - user/group under which redis process would be running.
Database will be saved to /var/lib/redis
INSTALLATION
1. cd /etc/puppet/modules/ && git clone git://github.com/zen4ever/puppet-redis.git redis
2. Make sure that you have "path" for "exec" in your defaults, something like
Exec { path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" }
in the /etc/puppet/manifests/site.pp file.
3. Include redis class in your nodes where you want to have redis installed.
Credits:
init.d script was written by Ian Lewis (http://www.ianlewis.org/en/redis-initd-script)