Drop Fedora support

Fedora support is never tested, and has been unmaintained for a while.
Because we don't expect any actual user using OpenStack on Fedora, this
change drops support for Fedora directly.

Change-Id: I63c96cd92bad210c0a9527c59f8e1347967172a3
This commit is contained in:
Takashi Kajinami 2021-05-26 23:06:00 +09:00
parent 91bd836fe5
commit f0b36283fe
4 changed files with 6 additions and 17 deletions

View File

@ -9,11 +9,6 @@ class openstacklib::defaults {
if ($::os['family'] == 'Debian') {
$pyvers = '3'
$pyver3 = '3'
} elsif ($::os['name'] == 'Fedora') {
# TODO(tkajinam): This is very outdated and doesn't work with the latest
# Fedora. We should fix or drop this.
$pyvers = '3'
$pyver3 = '3.6'
} elsif $::os['family'] == 'RedHat' {
if Integer.new($::os['release']['major']) > 8 {
$pyvers = '3'

View File

@ -37,12 +37,6 @@
"11"
]
},
{
"operatingsystem": "Fedora",
"operatingsystemrelease": [
"24"
]
},
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [

View File

@ -0,0 +1,4 @@
---
upgrade:
- |
Fedora is no longer supported.

View File

@ -36,14 +36,10 @@ describe 'openstacklib::openstackclient' do
when 'Debian'
{ :openstackclient_package_name => 'python3-openstackclient' }
when 'RedHat'
if facts[:operatingsystem] == 'Fedora'
if facts[:operatingsystemmajrelease] > '7'
{ :openstackclient_package_name => 'python3-openstackclient' }
else
if facts[:operatingsystemmajrelease] > '7'
{ :openstackclient_package_name => 'python3-openstackclient' }
else
{ :openstackclient_package_name => 'python-openstackclient' }
end
{ :openstackclient_package_name => 'python-openstackclient' }
end
end
end