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

View File

@ -20,6 +20,7 @@ class octavia::client (
name => $::octavia::params::client_package_name,
tag => 'openstack',
}
include '::openstacklib::openstackclient'
} else {
fail("There is no avaiable client package in osfamily: ${::osfamily}.")
}

View File

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

View File

@ -25,6 +25,7 @@ describe 'octavia::client' do
)
end
it { is_expected.to contain_class('openstacklib::openstackclient') }
end
on_supported_os({