client: Install openstackclient

The manila CLI was already deprecated in favor of the openstack CLI
plugin[1]. Install openstackclient when client is requested so that
the openstack CLI can be used.

[1] ba9a3887869ecd4cbed4aeb43c11a3d9493fafa2

Change-Id: I4589f6d74b3f4b6b88333306eb013b91fc0a9d44
This commit is contained in:
Takashi Kajinami 2024-04-20 17:54:14 +09:00
parent 88a6773b2c
commit b16813c39c
2 changed files with 4 additions and 0 deletions

View File

@ -19,4 +19,6 @@ class manila::client (
name => $::manila::params::client_package,
tag => ['openstack', 'openstackclient'],
}
include openstacklib::openstackclient
}

View File

@ -14,6 +14,8 @@ describe 'manila::client' do
:tag => ['openstack', 'openstackclient'],
)
end
it { is_expected.to contain_class('openstacklib::openstackclient') }
end
on_supported_os({