From 19f90329831a0e7d70cd983dbb277e18cf1e8314 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 20 Nov 2023 01:12:29 +0900 Subject: [PATCH] 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 --- manifests/client.pp | 2 +- spec/classes/barbican_client_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/client.pp b/manifests/client.pp index 7a58e4fd..cc4dd32b 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -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 diff --git a/spec/classes/barbican_client_spec.rb b/spec/classes/barbican_client_spec.rb index c24bb6ed..fbaa77a8 100644 --- a/spec/classes/barbican_client_spec.rb +++ b/spec/classes/barbican_client_spec.rb @@ -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