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:
parent
91bd836fe5
commit
f0b36283fe
@ -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'
|
||||
|
@ -37,12 +37,6 @@
|
||||
"11"
|
||||
]
|
||||
},
|
||||
{
|
||||
"operatingsystem": "Fedora",
|
||||
"operatingsystemrelease": [
|
||||
"24"
|
||||
]
|
||||
},
|
||||
{
|
||||
"operatingsystem": "RedHat",
|
||||
"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,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user