
This massive code commit actually implements something very simple. previously, we allowed nova_config to omit a section and assumed that section was default. This commit updates the code to require section names for all settings. This change is being made b/c: - it better maps to the config on disk - it is consistent with the other modules Change-Id: Iae71a4c48ed0f9792566f16f0bf13e61569b46e5
26 lines
431 B
Ruby
26 lines
431 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'nova::consoleauth' do
|
|
|
|
let :pre_condition do
|
|
'include nova'
|
|
end
|
|
|
|
describe 'on debian platforms' do
|
|
let :facts do
|
|
{ :osfamily => 'Debian' }
|
|
end
|
|
|
|
describe 'with package version' do
|
|
let :params do
|
|
{:ensure_package => '2012.1-2'}
|
|
end
|
|
it { should contain_package('nova-consoleauth').with(
|
|
'ensure' => '2012.1-2'
|
|
)}
|
|
end
|
|
|
|
end
|
|
|
|
end
|