Use the pbr generated wsgi binary file located in binary folder
Since pbr 1.4.0, wsgi_scripts entrypoing is supported and it will generated a wsgi compatible binary file. Not yet supported on Debian systems. Change-Id: Ie9b0fe1b7923dbf68db665982eb6003c83c0b4a8
This commit is contained in:
parent
bc81160769
commit
c0518d8082
@ -24,7 +24,7 @@ class aodh::params {
|
|||||||
$listener_package_name = 'openstack-aodh-listener'
|
$listener_package_name = 'openstack-aodh-listener'
|
||||||
$listener_service_name = 'openstack-aodh-listener'
|
$listener_service_name = 'openstack-aodh-listener'
|
||||||
$aodh_wsgi_script_path = '/var/www/cgi-bin/aodh'
|
$aodh_wsgi_script_path = '/var/www/cgi-bin/aodh'
|
||||||
$aodh_wsgi_script_source = '/usr/lib/python2.7/site-packages/aodh/api/app.wsgi'
|
$aodh_wsgi_script_source = '/usr/bin/aodh-api'
|
||||||
$redis_package_name = 'python-redis'
|
$redis_package_name = 'python-redis'
|
||||||
}
|
}
|
||||||
'Debian': {
|
'Debian': {
|
||||||
|
@ -101,7 +101,7 @@ describe 'aodh::wsgi::apache' do
|
|||||||
:httpd_service_name => 'httpd',
|
:httpd_service_name => 'httpd',
|
||||||
:httpd_ports_file => '/etc/httpd/conf/ports.conf',
|
:httpd_ports_file => '/etc/httpd/conf/ports.conf',
|
||||||
:wsgi_script_path => '/var/www/cgi-bin/aodh',
|
:wsgi_script_path => '/var/www/cgi-bin/aodh',
|
||||||
:wsgi_script_source => '/usr/lib/python2.7/site-packages/aodh/api/app.wsgi'
|
:wsgi_script_source => '/usr/bin/aodh-api'
|
||||||
}
|
}
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user