
We don't need the nova tag since Puppet will auto-tag the nova packages with the appropriate service name. Change-Id: Iab3a42dc915b7343eb59887e1a5e769a9ff522cd Closes-Bug: #1391209
21 lines
433 B
Ruby
21 lines
433 B
Ruby
require 'spec_helper'
|
|
|
|
describe 'nova::client' do
|
|
|
|
context 'with default parameters' do
|
|
it {
|
|
should contain_package('python-novaclient').with(
|
|
:ensure => 'present',
|
|
:tag => ['openstack']
|
|
)
|
|
}
|
|
end
|
|
|
|
context 'with ensure parameter provided' do
|
|
let :params do
|
|
{ :ensure => '2012.1-2' }
|
|
end
|
|
it { should contain_package('python-novaclient').with_ensure('2012.1-2') }
|
|
end
|
|
end
|