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:
ZhongShengping 2018-03-26 14:06:11 +08:00
parent bc81160769
commit c0518d8082
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class aodh::params {
$listener_package_name = 'openstack-aodh-listener'
$listener_service_name = 'openstack-aodh-listener'
$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'
}
'Debian': {

View File

@ -101,7 +101,7 @@ describe 'aodh::wsgi::apache' do
:httpd_service_name => 'httpd',
:httpd_ports_file => '/etc/httpd/conf/ports.conf',
: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