diff --git a/chef/cookbooks/openstack-block-storage/recipes/volume.rb b/chef/cookbooks/openstack-block-storage/recipes/volume.rb index 47c5672..9751256 100644 --- a/chef/cookbooks/openstack-block-storage/recipes/volume.rb +++ b/chef/cookbooks/openstack-block-storage/recipes/volume.rb @@ -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