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:
Samuel Cassiba
2018-02-08 21:44:50 -08:00
parent 7ff916564d
commit 2e17c9a922
3 changed files with 7 additions and 7 deletions

View File

@@ -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(