Merge "Update horizon cache backend for Liberty"
This commit is contained in:
commit
356e2e290a
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user