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
This commit is contained in:
ZhongShengping 2019-05-16 09:52:25 +08:00
parent dd3ba5ed0a
commit 33574debba
3 changed files with 7 additions and 0 deletions

View File

@ -21,4 +21,6 @@ class neutron::client (
tag => ['neutron-support-package', 'openstack'], tag => ['neutron-support-package', 'openstack'],
} }
include '::openstacklib::openstackclient'
} }

View File

@ -0,0 +1,3 @@
---
features:
- Add openstackclient installation to the client class.

View File

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