forked from zen4ever/puppet-redis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
25 lines (17 loc) · 947 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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)