Add redis-server
Redis server will be the persistent cache replacement of memcache service. Change-Id: I51a29346b114949847e738f6809031ecb8858fae
This commit is contained in:
parent
7d1ca74fc7
commit
fbc3bb8694
@ -26,6 +26,11 @@ class stackalytics (
|
||||
$memcached_max_memory = '4096',
|
||||
$memcached_port = '11211',
|
||||
$vhost_name = $::fqdn,
|
||||
$redis_port = '6378',
|
||||
$redis_max_memory = '1gb',
|
||||
$redis_bind = '127.0.0.1',
|
||||
$redis_version = '2.8.4',
|
||||
$redis_password = undef,
|
||||
) {
|
||||
include ::httpd
|
||||
include ::httpd::mod::wsgi
|
||||
@ -51,6 +56,14 @@ class stackalytics (
|
||||
udp_port => $memcached_port,
|
||||
}
|
||||
|
||||
class { '::redis':
|
||||
redis_port => $redis_port,
|
||||
redis_max_memory => $redis_max_memory,
|
||||
redis_bind => $redis_bind,
|
||||
redis_password => $redis_password,
|
||||
version => $redis_version ,
|
||||
}
|
||||
|
||||
group { 'stackalytics':
|
||||
ensure => present,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user