Use new openstackclient tag

This looses dependency using the new openstackclient tag, which
requires only packages actually related to openstack CLI.

Also, cinderclient is not required by cinder itself so the support
package tag can be removed.

Depends-on: https://review.opendev.org/899594
Change-Id: Ieb7656f1f9a48086a13ebeb9c5418e800bed790f
This commit is contained in:
Takashi Kajinami 2023-10-30 23:54:50 +09:00
parent 89b9c7cd13
commit d78df82f85
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