Merge "Move redis definition"
This commit is contained in:
commit
e263ff92e3
|
@ -70,7 +70,18 @@ class askbot::install (
|
||||||
}
|
}
|
||||||
|
|
||||||
if $redis_enabled {
|
if $redis_enabled {
|
||||||
|
|
||||||
|
# This seems to be the only version that works; after this start
|
||||||
|
# getting errors about CacheKey input types; you can search and find
|
||||||
|
# this is something to do with redis 3.
|
||||||
python::pip { 'redis':
|
python::pip { 'redis':
|
||||||
|
ensure => '2.10.3',
|
||||||
|
pkgname => 'redis',
|
||||||
|
virtualenv => '/usr/askbot-env',
|
||||||
|
require => Python::Virtualenv['/usr/askbot-env'],
|
||||||
|
}
|
||||||
|
|
||||||
|
python::pip { 'django-redis-cache':
|
||||||
ensure => '1.3.0',
|
ensure => '1.3.0',
|
||||||
pkgname => 'django-redis-cache',
|
pkgname => 'django-redis-cache',
|
||||||
virtualenv => '/usr/askbot-env',
|
virtualenv => '/usr/askbot-env',
|
||||||
|
@ -121,16 +132,6 @@ class askbot::install (
|
||||||
require => Python::Virtualenv['/usr/askbot-env'],
|
require => Python::Virtualenv['/usr/askbot-env'],
|
||||||
}
|
}
|
||||||
|
|
||||||
# This seems to be the only version that works; after this start
|
|
||||||
# getting errors about CacheKey input types; you can search and find
|
|
||||||
# this is something to do with redis 3.
|
|
||||||
python::pip { 'redis':
|
|
||||||
ensure => '2.10.3',
|
|
||||||
pkgname => 'redis',
|
|
||||||
virtualenv => '/usr/askbot-env',
|
|
||||||
require => Python::Virtualenv['/usr/askbot-env'],
|
|
||||||
}
|
|
||||||
|
|
||||||
include ::httpd::mod::wsgi
|
include ::httpd::mod::wsgi
|
||||||
|
|
||||||
exec { 'askbot-install':
|
exec { 'askbot-install':
|
||||||
|
|
Loading…
Reference in New Issue