[vmdk] Replaced pip with native package manager
Change-Id: I0603889ad00cbd7fe83c436f1c7273ef0c35b73f
This commit is contained in:
parent
b88fd97dc3
commit
f82a410d43
@ -81,8 +81,7 @@ define cinder::backend::vmdk (
|
||||
}
|
||||
}
|
||||
|
||||
package { 'suds':
|
||||
ensure => present,
|
||||
provider => pip
|
||||
package { 'python-suds':
|
||||
ensure => present
|
||||
}
|
||||
}
|
||||
|
@ -45,6 +45,7 @@
|
||||
# (optional) The name for the folder in the VC datacenter that will contain cinder volumes.
|
||||
# Defaults to 'cinder-volumes'.
|
||||
#
|
||||
|
||||
class cinder::volume::vmdk(
|
||||
$host_ip,
|
||||
$host_username,
|
||||
@ -75,8 +76,7 @@ class cinder::volume::vmdk(
|
||||
}
|
||||
}
|
||||
|
||||
package { 'suds':
|
||||
package{ 'python-suds':
|
||||
ensure => present,
|
||||
provider => pip
|
||||
}
|
||||
}
|
||||
|
@ -34,10 +34,10 @@ describe 'cinder::volume::vmdk' do
|
||||
should_not contain_cinder_config('DEFAULT/vmware_wsdl_location')
|
||||
end
|
||||
|
||||
it 'installs vmdk driver with pip' do
|
||||
should contain_package('suds').with(
|
||||
:ensure => 'present',
|
||||
:provider => 'pip')
|
||||
it 'installs vmdk python driver' do
|
||||
should contain_package('python-suds').with(
|
||||
:ensure => 'present'
|
||||
)
|
||||
end
|
||||
|
||||
context 'with optional parameters' do
|
||||
|
@ -37,10 +37,9 @@ describe 'cinder::backend::vmdk' do
|
||||
should_not contain_cinder_config('hippo/vmware_wsdl_location')
|
||||
end
|
||||
|
||||
it 'installs vmdk driver 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user