From b16813c39ca1104682c8fe27ae6140715d479bc9 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 20 Apr 2024 17:54:14 +0900 Subject: [PATCH] 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 --- manifests/client.pp | 2 ++ spec/classes/manila_client_spec.rb | 2 ++ 2 files changed, 4 insertions(+) diff --git a/manifests/client.pp b/manifests/client.pp index 45ea0f51..71c5cafe 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -19,4 +19,6 @@ class manila::client ( name => $::manila::params::client_package, tag => ['openstack', 'openstackclient'], } + + include openstacklib::openstackclient } diff --git a/spec/classes/manila_client_spec.rb b/spec/classes/manila_client_spec.rb index 048c30e7..42bbb76f 100644 --- a/spec/classes/manila_client_spec.rb +++ b/spec/classes/manila_client_spec.rb @@ -14,6 +14,8 @@ describe 'manila::client' do :tag => ['openstack', 'openstackclient'], ) end + + it { is_expected.to contain_class('openstacklib::openstackclient') } end on_supported_os({