Remove unused [memcache] options
These options has had no effect since Pike, and will be deprecated soon. Related-Bug: #1941020 Change-Id: I6b4cbde624ef2e27db13ff6f7a91c5b55432a2d9
This commit is contained in:
parent
fd670969a9
commit
023493194a
|
@ -152,10 +152,7 @@ class keystone::cache(
|
||||||
}
|
}
|
||||||
|
|
||||||
keystone_config {
|
keystone_config {
|
||||||
'memcache/dead_retry': value => $memcache_dead_retry;
|
'token/caching': value => $token_caching;
|
||||||
'memcache/pool_maxsize': value => $memcache_pool_maxsize;
|
|
||||||
'memcache/pool_unused_timeout': value => $memcache_pool_unused_timeout;
|
|
||||||
'token/caching': value => $token_caching;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
oslo::cache { 'keystone_config':
|
oslo::cache { 'keystone_config':
|
||||||
|
|
|
@ -10,9 +10,6 @@ describe 'keystone::cache' do
|
||||||
|
|
||||||
context 'with default parameters' do
|
context 'with default parameters' do
|
||||||
it 'configures cache' do
|
it 'configures cache' do
|
||||||
is_expected.to contain_keystone_config('memcache/dead_retry').with_value('<SERVICE DEFAULT>')
|
|
||||||
is_expected.to contain_keystone_config('memcache/pool_maxsize').with_value('<SERVICE DEFAULT>')
|
|
||||||
is_expected.to contain_keystone_config('memcache/pool_unused_timeout').with_value('<SERVICE DEFAULT>')
|
|
||||||
is_expected.to contain_keystone_config('token/caching').with_value('<SERVICE DEFAULT>')
|
is_expected.to contain_keystone_config('token/caching').with_value('<SERVICE DEFAULT>')
|
||||||
|
|
||||||
is_expected.to contain_oslo__cache('keystone_config').with(
|
is_expected.to contain_oslo__cache('keystone_config').with(
|
||||||
|
@ -61,9 +58,6 @@ describe 'keystone::cache' do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'configures cache' do
|
it 'configures cache' do
|
||||||
is_expected.to contain_keystone_config('memcache/dead_retry').with_value('60')
|
|
||||||
is_expected.to contain_keystone_config('memcache/pool_maxsize').with_value('10')
|
|
||||||
is_expected.to contain_keystone_config('memcache/pool_unused_timeout').with_value('120')
|
|
||||||
is_expected.to contain_keystone_config('token/caching').with_value(true)
|
is_expected.to contain_keystone_config('token/caching').with_value(true)
|
||||||
|
|
||||||
is_expected.to contain_oslo__cache('keystone_config').with(
|
is_expected.to contain_oslo__cache('keystone_config').with(
|
||||||
|
|
Loading…
Reference in New Issue