From 6a13cb3e847ed4ac2f1330eccae018f011c8f340 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Thu, 16 May 2019 09:52:26 +0800 Subject: [PATCH] Add openstackclient installation to the client class The repo is inside the openstackclient plugin commands[1]. [1]https://docs.openstack.org/python-openstackclient/latest/cli/plugin-commands.html Change-Id: I6e99e240e75fd4cfa9ec94b0587e46668e1b259e --- manifests/client.pp | 2 ++ .../notes/add-openstackclient-client-afece91a0456fec0.yaml | 3 +++ spec/classes/zaqar_client_spec.rb | 2 ++ 3 files changed, 7 insertions(+) create mode 100644 releasenotes/notes/add-openstackclient-client-afece91a0456fec0.yaml diff --git a/manifests/client.pp b/manifests/client.pp index f48b66d..fb27099 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -21,4 +21,6 @@ class zaqar::client ( tag => 'openstack', } + include '::openstacklib::openstackclient' + } diff --git a/releasenotes/notes/add-openstackclient-client-afece91a0456fec0.yaml b/releasenotes/notes/add-openstackclient-client-afece91a0456fec0.yaml new file mode 100644 index 0000000..7fe5782 --- /dev/null +++ b/releasenotes/notes/add-openstackclient-client-afece91a0456fec0.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add openstackclient installation to the client class. diff --git a/spec/classes/zaqar_client_spec.rb b/spec/classes/zaqar_client_spec.rb index 8d18ab6..6552616 100644 --- a/spec/classes/zaqar_client_spec.rb +++ b/spec/classes/zaqar_client_spec.rb @@ -14,6 +14,8 @@ describe 'zaqar::client' do :tag => 'openstack', ) end + + it { is_expected.to contain_class('openstacklib::openstackclient') } end on_supported_os({