summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorSamuel Cassiba <s@cassiba.com>2018-02-08 21:44:50 -0800
committerSamuel Cassiba <s@cassiba.com>2018-02-08 22:14:55 -0800
commit2e17c9a922f92b496ccf146ec56ab1e3dd8cf032 (patch)
tree6fe67c62f93aaf8bd1b12ce531c1abc0be1603ed /spec
parent7ff916564d342840a2175344a26390c35f76bda8 (diff)
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
Notes
Notes (review): Code-Review+2: Jan Klare <j.klare@cloudbau.de> Workflow+1: Christoph Albers <c.albers@x-ion.de> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 14 Feb 2018 17:09:53 +0000 Reviewed-on: https://review.openstack.org/542600 Project: openstack/cookbook-openstack-block-storage Branch: refs/heads/master
Diffstat (limited to 'spec')
-rw-r--r--spec/volume_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/volume_spec.rb b/spec/volume_spec.rb
index b5efa33..90e6a38 100644
--- a/spec/volume_spec.rb
+++ b/spec/volume_spec.rb
@@ -35,7 +35,7 @@ describe 'openstack-block-storage::volume' do
35 end 35 end
36 36
37 it 'starts iscsi target on boot' do 37 it 'starts iscsi target on boot' do
38 expect(chef_run).to enable_service 'tgt' 38 expect(chef_run).to enable_service 'iscsitarget'
39 end 39 end
40 40
41 it 'upgrades mysql python packages by default' do 41 it 'upgrades mysql python packages by default' do
@@ -43,11 +43,11 @@ describe 'openstack-block-storage::volume' do
43 end 43 end
44 44
45 it 'upgrades cinder iscsi package' do 45 it 'upgrades cinder iscsi package' do
46 expect(chef_run).to upgrade_package 'tgt' 46 expect(chef_run).to upgrade_package 'targetcli'
47 end 47 end
48 48
49 describe 'targets.conf' do 49 describe 'targets.conf' do
50 let(:file) { chef_run.template('/etc/tgt/targets.conf') } 50 let(:file) { chef_run.template('/etc/target/targets.conf') }
51 51
52 it 'should create the targets.conf' do 52 it 'should create the targets.conf' do
53 expect(chef_run).to create_template(file.name).with( 53 expect(chef_run).to create_template(file.name).with(