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: I224d78a4de42a86df251ac7a0eca873f442f5ffc
This commit is contained in:
ZhongShengping 2019-05-16 09:52:24 +08:00
parent aadb6975a9
commit 650a1e5465
5 changed files with 11 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

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