Merge "Update horizon cache backend for Liberty"

This commit is contained in:
Jenkins 2015-12-29 10:45:54 +00:00 committed by Gerrit Code Review
commit 356e2e290a
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ class { 'openstack::horizon':
package_ensure => hiera('horizon_package_ensure', 'installed'),
bind_address => $bind_address,
cache_server_port => hiera('memcache_server_port', '11211'),
cache_backend => 'django.core.cache.backends.memcached.MemcachedCache',
cache_backend => 'horizon.backends.memcached.HorizonMemcached',
cache_options => {'SOCKET_TIMEOUT' => 1,'SERVER_RETRIES' => 1,'DEAD_RETRY' => 1},
neutron => hiera('use_neutron'),
keystone_url => $keystone_url,

View File

@ -76,7 +76,7 @@ describe manifest do
it 'should declare horizon class with correct values' do
should contain_class('horizon').with(
'cache_backend' => 'django.core.cache.backends.memcached.MemcachedCache',
'cache_backend' => 'horizon.backends.memcached.HorizonMemcached',
'cache_options' => cache_options,
'log_handler' => 'file',
'overview_days_range' => 1,