Allow specification of nova vnc proxy version.

This commit is contained in:
John Chilton 2012-05-08 17:01:40 -05:00
parent af5e4faef6
commit eecfc80f73
2 changed files with 16 additions and 4 deletions

View File

@ -24,6 +24,7 @@ class nova::vncproxy(
enabled => $enabled,
package_name => $::nova::params::vncproxy_package_name,
service_name => $::nova::params::vncproxy_service_name,
ensure_package => $ensure_package,
require => Package['python-numpy']
}

View File

@ -31,7 +31,18 @@ describe 'nova::vncproxy' do
:name => 'novnc',
:ensure => 'running'
)}
describe 'with package version' do
let :params do
{:ensure_package => '2012.1-2'}
end
it { should contain_package('nova-vncproxy').with(
'ensure' => '2012.1-2'
)}
end
end
describe 'on Redhatish platforms' do