diff --git a/releasenotes/notes/drop-fedora-7ea493ab73fa8a0f.yaml b/releasenotes/notes/drop-fedora-7ea493ab73fa8a0f.yaml new file mode 100644 index 0000000..71818df --- /dev/null +++ b/releasenotes/notes/drop-fedora-7ea493ab73fa8a0f.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + Fedora is no longer supported. diff --git a/spec/classes/zaqar_wsgi_apache_spec.rb b/spec/classes/zaqar_wsgi_apache_spec.rb index 29e39df..3c2e584 100644 --- a/spec/classes/zaqar_wsgi_apache_spec.rb +++ b/spec/classes/zaqar_wsgi_apache_spec.rb @@ -97,30 +97,12 @@ describe 'zaqar::wsgi::apache' do :wsgi_script_source => '/usr/lib/python3/dist-packages/zaqar/transport/wsgi/app.py' } 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/zaqar', - :wsgi_script_source => '/usr/lib/python3.6/site-packages/zaqar/transport/wsgi/app.py' - } - else - if facts[:operatingsystemmajrelease] > '7' - { - :httpd_service_name => 'httpd', - :httpd_ports_file => '/etc/httpd/conf/ports.conf', - :wsgi_script_path => '/var/www/cgi-bin/zaqar', - :wsgi_script_source => '/usr/lib/python3.6/site-packages/zaqar/transport/wsgi/app.py' - } - else - { - :httpd_service_name => 'httpd', - :httpd_ports_file => '/etc/httpd/conf/ports.conf', - :wsgi_script_path => '/var/www/cgi-bin/zaqar', - :wsgi_script_source => '/usr/lib/python2.7/site-packages/zaqar/transport/wsgi/app.py' - } - end - end + { + :httpd_service_name => 'httpd', + :httpd_ports_file => '/etc/httpd/conf/ports.conf', + :wsgi_script_path => '/var/www/cgi-bin/zaqar', + :wsgi_script_source => '/usr/lib/python3.6/site-packages/zaqar/transport/wsgi/app.py' + } end end