Remove unused logic

The python-octaviaclient package is available in all distros we
currently support.

Change-Id: I7a0d4f170a2a58c635240ad7c305467df8f4af2e
This commit is contained in:
Takashi Kajinami 2022-02-06 23:00:46 +09:00
parent 8f09984e5c
commit c1c20ee0e8

View File

@ -14,14 +14,10 @@ class octavia::client (
include octavia::deps
include octavia::params
if $::octavia::params::client_package_name {
package { 'python-octaviaclient':
ensure => $ensure,
name => $::octavia::params::client_package_name,
tag => 'openstack',
}
include openstacklib::openstackclient
} else {
fail("There is no avaiable client package in osfamily: ${::osfamily}.")
package { 'python-octaviaclient':
ensure => $ensure,
name => $::octavia::params::client_package_name,
tag => 'openstack',
}
include openstacklib::openstackclient
}