From 06c99bcf5e3b75756e8344c3d66c4b60ccac04b1 Mon Sep 17 00:00:00 2001 From: Francesco Vollero Date: Thu, 20 Feb 2014 19:42:34 +0100 Subject: [PATCH] [vmware] Replaced pip with native package manager Change-Id: Id1b04168eb940fa61c4ba83cfc8ecdcb1cf8f2b8 --- manifests/compute/vmware.pp | 5 ++--- spec/classes/nova_compute_vmware_spec.rb | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/manifests/compute/vmware.pp b/manifests/compute/vmware.pp index ea307c5ae..5432e5bcf 100644 --- a/manifests/compute/vmware.pp +++ b/manifests/compute/vmware.pp @@ -74,8 +74,7 @@ class nova::compute::vmware( } } - package { 'suds': - ensure => present, - provider => pip + package { 'python-suds': + ensure => present } } diff --git a/spec/classes/nova_compute_vmware_spec.rb b/spec/classes/nova_compute_vmware_spec.rb index 7a3067ccc..8242bdf93 100644 --- a/spec/classes/nova_compute_vmware_spec.rb +++ b/spec/classes/nova_compute_vmware_spec.rb @@ -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 \ No newline at end of file +end