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

View File

@ -20,4 +20,7 @@ class sahara::client (
name => $::sahara::params::client_package_name,
tag => 'openstack',
}
include '::openstacklib::openstackclient'
}

View File

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

View File

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