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 barbicanclient
because the package provides some sub-commands.

Change-Id: I8f1f8b4a6de6ca0d95c2f53a89a1d50a6c82d29e
This commit is contained in:
Takashi Kajinami 2023-11-20 01:12:29 +09:00
parent af6d42ba7b
commit 19f9032983
2 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ class barbican::client (
package { 'python-barbicanclient':
ensure => $ensure,
name => $::barbican::params::client_package_name,
tag => 'openstack',
tag => ['openstack', 'openstackclient'],
}
include openstacklib::openstackclient

View File

@ -30,7 +30,7 @@ describe 'barbican::client' do
it { is_expected.to contain_package('python-barbicanclient').with(
'ensure' => 'present',
'name' => platform_params[:client_package_name],
'tag' => 'openstack'
'tag' => ['openstack', 'openstackclient']
)}
it { should contain_class('openstacklib::openstackclient') }
@ -43,7 +43,7 @@ describe 'barbican::client' do
it { is_expected.to contain_package('python-barbicanclient').with(
'ensure' => '2013.1',
'tag' => 'openstack'
'tag' => ['openstack', 'openstackclient']
)}
end
end