CentOS 9: Fix unit tests for zaqar::wsgi::apache
Change-Id: I12e82c520450584fc78e830a32551d6553c5030f
This commit is contained in:
parent
1e36ec00e5
commit
8ad1daf24f
@ -91,12 +91,21 @@ describe 'zaqar::wsgi::apache' do
|
|||||||
:wsgi_script_source => '/usr/lib/python3/dist-packages/zaqar/transport/wsgi/app.py'
|
:wsgi_script_source => '/usr/lib/python3/dist-packages/zaqar/transport/wsgi/app.py'
|
||||||
}
|
}
|
||||||
when 'RedHat'
|
when 'RedHat'
|
||||||
{
|
if facts[:operatingsystemmajrelease].to_i > 8
|
||||||
:httpd_service_name => 'httpd',
|
{
|
||||||
:httpd_ports_file => '/etc/httpd/conf/ports.conf',
|
:httpd_service_name => 'httpd',
|
||||||
:wsgi_script_path => '/var/www/cgi-bin/zaqar',
|
:httpd_ports_file => '/etc/httpd/conf/ports.conf',
|
||||||
:wsgi_script_source => '/usr/lib/python3.6/site-packages/zaqar/transport/wsgi/app.py'
|
:wsgi_script_path => '/var/www/cgi-bin/zaqar',
|
||||||
}
|
:wsgi_script_source => '/usr/lib/python3.9/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/python3.6/site-packages/zaqar/transport/wsgi/app.py'
|
||||||
|
}
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user