Merge "Use new openstackclient tag"

This commit is contained in:
Zuul 2023-11-20 18:34:12 +00:00 committed by Gerrit Code Review
commit 8273a44172
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ class cinder::client(
package { 'python-cinderclient':
ensure => $package_ensure,
name => $::cinder::params::client_package,
tag => ['openstack', 'cinder-support-package'],
tag => 'openstack',
}
include openstacklib::openstackclient

View File

@ -78,8 +78,8 @@ class cinder::deps {
# will have clients available to create resources. This tag handles the
# openstackclient but indirectly since the client is not available in
# all catalogs that don't need the client class (like many spec tests)
Package<| tag == 'openstack'|>
~> Anchor['cinder::service::end']
Package<| tag == 'openstackclient'|>
-> Anchor['cinder::service::end']
# Installation or config changes will always restart services.
Anchor['cinder::install::end'] ~> Anchor['cinder::service::begin']

View File

@ -23,7 +23,7 @@ describe 'cinder::client' do
is_expected.to contain_package('python-cinderclient').with(
:name => platform_params[:client_package_name],
:ensure => p[:package_ensure],
:tag => ['openstack', 'cinder-support-package'],
:tag => 'openstack',
)
end