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