move parted package installation to outside

Change-Id: Ibd22ee5832bfb2374f89702c1baafd8973f3b367
Closes-Bug: 1392131
This commit is contained in:
xiaodongwang 2014-12-03 13:50:00 -08:00
parent f50b6fc7e0
commit 283b747cf5
1 changed files with 4 additions and 4 deletions

View File

@ -28,6 +28,10 @@ end
include_recipe 'openstack-block-storage::cinder-common'
package 'parted' do
action :install
end
platform_options = node['openstack']['block-storage']['platform']
platform_options['cinder_volume_packages'].each do |pkg|
@ -190,10 +194,6 @@ when 'cinder.volume.drivers.lvm.LVMISCSIDriver'
action :upgrade
end
package 'parted' do
action :install
end
openstack_block_storage_volume node['openstack']['block-storage']['volume']['disk'] do
action :create_partition
end