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:
@@ -20,6 +20,7 @@ class octavia::client (
|
|||||||
name => $::octavia::params::client_package_name,
|
name => $::octavia::params::client_package_name,
|
||||||
tag => 'openstack',
|
tag => 'openstack',
|
||||||
}
|
}
|
||||||
|
include '::openstacklib::openstackclient'
|
||||||
} else {
|
} else {
|
||||||
fail("There is no avaiable client package in osfamily: ${::osfamily}.")
|
fail("There is no avaiable client package in osfamily: ${::osfamily}.")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- Add openstackclient installation to the client class.
|
||||||
@@ -25,6 +25,7 @@ describe 'octavia::client' do
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it { is_expected.to contain_class('openstacklib::openstackclient') }
|
||||||
end
|
end
|
||||||
|
|
||||||
on_supported_os({
|
on_supported_os({
|
||||||
|
|||||||
Reference in New Issue
Block a user