Merge "Fix the purge_config option for api and registry"

This commit is contained in:
Jenkins
2016-04-13 10:59:58 +00:00
committed by Gerrit Code Review
4 changed files with 19 additions and 0 deletions

View File

@@ -154,6 +154,12 @@ describe 'glance::api' do
is_expected.to contain_glance_api_config('DEFAULT/registry_client_key_file').with_value('<SERVICE DEFAULT>')
end
it 'passes purge to resource' do
is_expected.to contain_resources('glance_api_config').with({
:purge => false
})
end
it 'is_expected.to configure itself for keystone if that is the auth_type' do
if params[:auth_type] == 'keystone'
is_expected.to contain('paste_deploy/flavor').with_value('keystone+cachemanagement')