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:
@@ -9,11 +9,6 @@ class openstacklib::defaults {
|
|||||||
if ($::os['family'] == 'Debian') {
|
if ($::os['family'] == 'Debian') {
|
||||||
$pyvers = '3'
|
$pyvers = '3'
|
||||||
$pyver3 = '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' {
|
} elsif $::os['family'] == 'RedHat' {
|
||||||
if Integer.new($::os['release']['major']) > 8 {
|
if Integer.new($::os['release']['major']) > 8 {
|
||||||
$pyvers = '3'
|
$pyvers = '3'
|
||||||
|
@@ -37,12 +37,6 @@
|
|||||||
"11"
|
"11"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"operatingsystem": "Fedora",
|
|
||||||
"operatingsystemrelease": [
|
|
||||||
"24"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"operatingsystem": "RedHat",
|
"operatingsystem": "RedHat",
|
||||||
"operatingsystemrelease": [
|
"operatingsystemrelease": [
|
||||||
|
4
releasenotes/notes/drop-fedora-66989e6f7049e5bd.yaml
Normal file
4
releasenotes/notes/drop-fedora-66989e6f7049e5bd.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
Fedora is no longer supported.
|
@@ -36,9 +36,6 @@ describe 'openstacklib::openstackclient' do
|
|||||||
when 'Debian'
|
when 'Debian'
|
||||||
{ :openstackclient_package_name => 'python3-openstackclient' }
|
{ :openstackclient_package_name => 'python3-openstackclient' }
|
||||||
when 'RedHat'
|
when 'RedHat'
|
||||||
if facts[:operatingsystem] == 'Fedora'
|
|
||||||
{ :openstackclient_package_name => 'python3-openstackclient' }
|
|
||||||
else
|
|
||||||
if facts[:operatingsystemmajrelease] > '7'
|
if facts[:operatingsystemmajrelease] > '7'
|
||||||
{ :openstackclient_package_name => 'python3-openstackclient' }
|
{ :openstackclient_package_name => 'python3-openstackclient' }
|
||||||
else
|
else
|
||||||
@@ -46,7 +43,6 @@ describe 'openstacklib::openstackclient' do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
it_behaves_like 'openstacklib::openstackclient'
|
it_behaves_like 'openstacklib::openstackclient'
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user