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: I48f24f1bc334048069fc0afc66455d050b445d1d
This commit is contained in:
zhangboye 2021-06-12 15:18:21 +08:00 committed by Takashi Kajinami
parent e8c63f4ecf
commit 51fb72306a
3 changed files with 10 additions and 30 deletions

View File

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

View File

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

View File

@ -97,30 +97,12 @@ describe 'vitrage::wsgi::apache' do
:wsgi_script_source => '/usr/share/vitrage-common/app.wsgi'
}
when 'RedHat'
if facts[:operatingsystem] == 'Fedora'
{
:httpd_service_name => 'httpd',
:httpd_ports_file => '/etc/httpd/conf/ports.conf',
:wsgi_script_path => '/var/www/cgi-bin/vitrage',
:wsgi_script_source => '/usr/lib/python3.6/site-packages/vitrage/api/app.wsgi'
}
else
if facts[:operatingsystemmajrelease] > '7'
{
:httpd_service_name => 'httpd',
:httpd_ports_file => '/etc/httpd/conf/ports.conf',
:wsgi_script_path => '/var/www/cgi-bin/vitrage',
:wsgi_script_source => '/usr/lib/python3.6/site-packages/vitrage/api/app.wsgi'
}
else
{
:httpd_service_name => 'httpd',
:httpd_ports_file => '/etc/httpd/conf/ports.conf',
:wsgi_script_path => '/var/www/cgi-bin/vitrage',
:wsgi_script_source => '/usr/lib/python2.7/site-packages/vitrage/api/app.wsgi'
}
end
end
{
:httpd_service_name => 'httpd',
:httpd_ports_file => '/etc/httpd/conf/ports.conf',
:wsgi_script_path => '/var/www/cgi-bin/vitrage',
:wsgi_script_source => '/usr/lib/python3.6/site-packages/vitrage/api/app.wsgi'
}
end
end
it_configures 'apache serving vitrage with mod_wsgi'