
This patch updates the mistral keystone_authtoken configuration to be inline with other OpenStack puppet modules. Specifically it adds a unique setting for identity_uri so that it can be set correctly rather than re-using auth_uri for both settings. Includes some new tests for these settings. Change-Id: I092516aa07f6dec4cb26e44182f125d27c8ff334
26 lines
625 B
Ruby
26 lines
625 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'mistral' do
|
|
|
|
let :params do
|
|
{
|
|
:auth_uri => 'http://127.0.0.1:5000/',
|
|
:identity_uri => 'http://127.0.0.1:35357/',
|
|
}
|
|
end
|
|
|
|
shared_examples_for 'a mistral base installation' do
|
|
|
|
it { is_expected.to contain_class('mistral::params') }
|
|
|
|
it 'configures auth_uri' do
|
|
is_expected.to contain_mistral_config('keystone_authtoken/auth_uri').with_value( params[:auth_uri] )
|
|
end
|
|
|
|
it 'configures identity_uri' do
|
|
is_expected.to contain_mistral_config('keystone_authtoken/identity_uri').with_value( params[:identity_uri] )
|
|
end
|
|
|
|
end
|
|
end
|