b46a7b34c0
This murano::config is aim to use murano config resources to manage custom configurations in murano config files. This will make end user easy to add their own custom options in Hiera data. Change-Id: I256b52ad242d99114cf41637b4ff14170d7f4595
21 lines
573 B
Ruby
21 lines
573 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'murano::config' do
|
|
|
|
let :params do
|
|
{ :murano_config => {
|
|
'DEFAULT/foo' => { 'value' => 'fooValue' },
|
|
'DEFAULT/bar' => { 'value' => 'barValue' },
|
|
'DEFAULT/baz' => { 'ensure' => 'absent' }
|
|
}
|
|
}
|
|
end
|
|
|
|
it 'configures arbitrary murano configurations' do
|
|
is_expected.to contain_murano_config('DEFAULT/foo').with_value('fooValue')
|
|
is_expected.to contain_murano_config('DEFAULT/bar').with_value('barValue')
|
|
is_expected.to contain_murano_config('DEFAULT/baz').with_ensure('absent')
|
|
end
|
|
|
|
end
|