[vmware] Replaced pip with native package manager

Change-Id: Id1b04168eb940fa61c4ba83cfc8ecdcb1cf8f2b8
This commit is contained in:
Francesco Vollero
2014-02-20 19:42:34 +01:00
parent c45f573882
commit 06c99bcf5e
2 changed files with 7 additions and 8 deletions

View File

@@ -74,8 +74,7 @@ class nova::compute::vmware(
}
}
package { 'suds':
ensure => present,
provider => pip
package { 'python-suds':
ensure => present
}
}

View File

@@ -30,10 +30,10 @@ describe 'nova::compute::vmware' do
should_not contain_nova_config('VMWARE/wsdl_location')
end
it 'installs vmwareapi with pip' do
should contain_package('suds').with(
:ensure => 'present',
:provider => 'pip')
it 'installs suds python package' do
should contain_package('python-suds').with(
:ensure => 'present'
)
end
context 'with optional parameters' do
@@ -49,4 +49,4 @@ describe 'nova::compute::vmware' do
should contain_nova_config('VMWARE/wsdl_location').with_value(params[:wsdl_location])
end
end
end
end