Define octavia client package for Red Hat family

python-octaviaclient is being packaged starting in RHOSP 13,
RDO Queens and Fedora 28.

Change-Id: Ide01e285bf89e39839f5c6319c2810bad206c114
This commit is contained in:
Carlos Goncalves 2018-02-08 15:32:42 +00:00
parent 2e98c9fa2d
commit 4bb15efe83
3 changed files with 8 additions and 8 deletions

View File

@ -15,7 +15,7 @@ class octavia::params {
$worker_package_name = 'openstack-octavia-worker' $worker_package_name = 'openstack-octavia-worker'
$health_manager_package_name = 'openstack-octavia-health-manager' $health_manager_package_name = 'openstack-octavia-health-manager'
$housekeeping_package_name = 'openstack-octavia-housekeeping' $housekeeping_package_name = 'openstack-octavia-housekeeping'
$client_package_name = undef $client_package_name = 'python-octaviaclient'
} }
'Debian': { 'Debian': {
$common_package_name = 'octavia-common' $common_package_name = 'octavia-common'

View File

@ -0,0 +1,6 @@
---
features:
- |
Defined Octavia client package name for Red Hat family.
python-octaviaclient is being packaged starting in RHOSP 13,
RDO Queens and Fedora 28.

View File

@ -28,13 +28,7 @@ describe 'octavia::client' do
end end
on_supported_os({ on_supported_os({
:supported_os => :supported_os => OSDefaults.get_supported_os
[
{ 'operatingsystem' => 'Ubuntu',
'operatingsystemrelease' => [ '16.04' ] },
{ 'operatingsystem' => 'Debian',
'operatingsystemrelease' => [ '8' ] }
]
}).each do |os,facts| }).each do |os,facts|
context "on #{os}" do context "on #{os}" do
let (:facts) do let (:facts) do