Use new openstackclient tag

The new openstackclient tag was added so that we can get all resources
about openstack CLI more easily. This adds this tag to cloudkittyclient
because the package provides some sub-commands.

Also make sure openstackclient is installed so that the 'openstack'
command is available.

Change-Id: I72aec8dd81d0470861d2019d0034bc76d6a75b8b
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2025-09-07 13:31:44 +09:00
parent 7c167c4805
commit 7a57568d1b
2 changed files with 4 additions and 2 deletions

View File

@@ -17,6 +17,8 @@ class cloudkitty::client (
package { 'python-cloudkittyclient':
ensure => $ensure,
name => $cloudkitty::params::client_package_name,
tag => 'openstack',
tag => ['openstack', 'openstackclient'],
}
include openstacklib::openstackclient
}

View File

@@ -11,7 +11,7 @@ describe 'cloudkitty::client' do
is_expected.to contain_package('python-cloudkittyclient').with(
:ensure => 'present',
:name => platform_params[:client_package_name],
:tag => 'openstack',
:tag => ['openstack', 'openstackclient'],
)
end
end