Use updated volume packages for Cinder
- scsi-target-utils comes from EPEL. Now that EPEL is disabled, this is removed in favor of targetcli from the base repo. This is also available for Ubuntu to provide a consistent outcome. Change-Id: Ibc146350ef2ddd1d19e35402cbf69e036a759f1d Implements: blueprint modern-chef
This commit is contained in:
@@ -35,7 +35,7 @@ describe 'openstack-block-storage::volume' do
|
||||
end
|
||||
|
||||
it 'starts iscsi target on boot' do
|
||||
expect(chef_run).to enable_service 'tgt'
|
||||
expect(chef_run).to enable_service 'iscsitarget'
|
||||
end
|
||||
|
||||
it 'upgrades mysql python packages by default' do
|
||||
@@ -43,11 +43,11 @@ describe 'openstack-block-storage::volume' do
|
||||
end
|
||||
|
||||
it 'upgrades cinder iscsi package' do
|
||||
expect(chef_run).to upgrade_package 'tgt'
|
||||
expect(chef_run).to upgrade_package 'targetcli'
|
||||
end
|
||||
|
||||
describe 'targets.conf' do
|
||||
let(:file) { chef_run.template('/etc/tgt/targets.conf') }
|
||||
let(:file) { chef_run.template('/etc/target/targets.conf') }
|
||||
|
||||
it 'should create the targets.conf' do
|
||||
expect(chef_run).to create_template(file.name).with(
|
||||
|
||||
Reference in New Issue
Block a user