Use new openstackclient tag

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

Depends-on: https://review.opendev.org/899594
Change-Id: I43d58b73daf5f3113f7f5800164443ad8875a4cc
This commit is contained in:
Takashi Kajinami 2023-10-30 23:50:09 +09:00
parent ebc4e6b540
commit 1f7d3f17aa
3 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ in a future release.")
package { 'python-neutronclient':
ensure => $package_ensure,
name => $::neutron::params::client_package,
tag => ['neutron-support-package', 'openstack'],
tag => 'openstack',
}
include openstacklib::openstackclient

View File

@ -94,8 +94,8 @@ class neutron::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['neutron::service::end']
Package<| tag == 'openstackclient'|>
-> Anchor['neutron::service::end']
# Installation or config changes will always restart services.
Anchor['neutron::install::end'] ~> Anchor['neutron::service::begin']

View File

@ -9,7 +9,7 @@ describe 'neutron::client' do
should contain_package('python-neutronclient').with(
:ensure => 'present',
:name => platform_params[:client_package],
:tag => ['neutron-support-package', 'openstack']
:tag => 'openstack',
)
end