Files
puppet-nova/spec/classes/nova_client_spec.rb
Matt Fischer d53282fcce Only tag packages with openstack tag
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
2015-02-04 12:56:01 -07:00

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