From 33574debba79de0c29b25a69c620fe288ef60b75 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Thu, 16 May 2019 09:52:25 +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: I857de092429e94890064a16475c0442f3751ae45 --- manifests/client.pp | 2 ++ .../notes/add-openstackclient-client-b004bb8103268611.yaml | 3 +++ spec/classes/neutron_client_spec.rb | 2 ++ 3 files changed, 7 insertions(+) create mode 100644 releasenotes/notes/add-openstackclient-client-b004bb8103268611.yaml diff --git a/manifests/client.pp b/manifests/client.pp index 464256a73..cd559c284 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -21,4 +21,6 @@ class neutron::client ( tag => ['neutron-support-package', 'openstack'], } + include '::openstacklib::openstackclient' + } diff --git a/releasenotes/notes/add-openstackclient-client-b004bb8103268611.yaml b/releasenotes/notes/add-openstackclient-client-b004bb8103268611.yaml new file mode 100644 index 000000000..7fe578252 --- /dev/null +++ b/releasenotes/notes/add-openstackclient-client-b004bb8103268611.yaml @@ -0,0 +1,3 @@ +--- +features: + - Add openstackclient installation to the client class. diff --git a/spec/classes/neutron_client_spec.rb b/spec/classes/neutron_client_spec.rb index dfe644225..d997e6ac4 100644 --- a/spec/classes/neutron_client_spec.rb +++ b/spec/classes/neutron_client_spec.rb @@ -12,6 +12,8 @@ describe 'neutron::client' do :tag => ['neutron-support-package', 'openstack'] ) end + + it { is_expected.to contain_class('openstacklib::openstackclient') } end on_supported_os({