From ef40cb9fce7ff3f74be55bdc93b0f10648a417c1 Mon Sep 17 00:00:00 2001 From: Keigo Noha Date: Thu, 13 Aug 2020 11:37:41 +0900 Subject: [PATCH] Fix typos, extreamio and xtreamio to xtremio dellemc_extremio_iscsi is a wrong name. It has to be dellemc_xtremio_iscsi. And xtreamio should be xtremio. Change-Id: I7ba7b3ca151bf101742dc84ad80204cda42e2dbb --- manifests/profile/base/cinder/volume.pp | 4 ++-- .../classes/tripleo_profile_base_cinder_xtremio_iscsi_spec.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/profile/base/cinder/volume.pp b/manifests/profile/base/cinder/volume.pp index 9790abe7b..43acdacaf 100644 --- a/manifests/profile/base/cinder/volume.pp +++ b/manifests/profile/base/cinder/volume.pp @@ -63,7 +63,7 @@ # Defaults to false # # [*cinder_enable_dellemc_xtremio_iscsi_backend*] -# (Optional) Whether to enable the extremio iscsi backend +# (Optional) Whether to enable the xtremio iscsi backend # Defaults to false # # [*cinder_enable_hpelefthand_backend*] @@ -285,7 +285,7 @@ class tripleo::profile::base::cinder::volume ( if $cinder_enable_dellemc_xtremio_iscsi_backend { include tripleo::profile::base::cinder::volume::dellemc_xtremio_iscsi - $cinder_dellemc_xtreamio_iscsi_backend_name = hiera('cinder::backend::dellemc_extremio_iscsi::volume_backend_name', + $cinder_dellemc_xtremio_iscsi_backend_name = hiera('cinder::backend::dellemc_xtremio_iscsi::volume_backend_name', 'tripleo_dellemc_xtremio_iscsi') } else { $cinder_dellemc_xtremio_iscsi_backend_name = undef diff --git a/spec/classes/tripleo_profile_base_cinder_xtremio_iscsi_spec.rb b/spec/classes/tripleo_profile_base_cinder_xtremio_iscsi_spec.rb index 527d65e8e..be97ad55b 100644 --- a/spec/classes/tripleo_profile_base_cinder_xtremio_iscsi_spec.rb +++ b/spec/classes/tripleo_profile_base_cinder_xtremio_iscsi_spec.rb @@ -28,7 +28,7 @@ describe 'tripleo::profile::base::cinder::volume::dellemc_xtremio_iscsi' do is_expected.to contain_class('tripleo::profile::base::cinder::volume::dellemc_xtremio_iscsi') is_expected.to contain_class('tripleo::profile::base::cinder::volume') is_expected.to contain_class('tripleo::profile::base::cinder') - is_expected.to_not contain_cinder__backend__dellemc_xtreamio_iscsi('tripleo_dellemc_xtremio_iscsi') + is_expected.to_not contain_cinder__backend__dellemc_xtremio_iscsi('tripleo_dellemc_xtremio_iscsi') end end