Fix WSGI app path on Ubuntu system
Looking at [1], WSGI app is located here: /usr/lib/python2.7/dist-packages/mistral/api/wsgi.py This patch aims to fix it. [1] http://packages.ubuntu.com/xenial/all/python-mistral/filelist Change-Id: Ibf504f919389fd1317ed9c0f0693490db2e1a6f8
This commit is contained in:
@@ -29,7 +29,7 @@ class mistral::params {
|
|||||||
$executor_package_name = 'mistral-executor'
|
$executor_package_name = 'mistral-executor'
|
||||||
$executor_service_name = 'mistral-executor'
|
$executor_service_name = 'mistral-executor'
|
||||||
$mistral_wsgi_script_path = '/usr/lib/cgi-bin/mistral'
|
$mistral_wsgi_script_path = '/usr/lib/cgi-bin/mistral'
|
||||||
$mistral_wsgi_script_source = '/usr/share/mistral-common/wsgi.py'
|
$mistral_wsgi_script_source = '/usr/lib/python2.7/dist-packages/mistral/api/wsgi.py'
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
fail("Unsupported osfamily: ${::osfamily} operatingsystem: \
|
fail("Unsupported osfamily: ${::osfamily} operatingsystem: \
|
||||||
|
@@ -115,7 +115,7 @@ describe 'mistral::wsgi::apache' do
|
|||||||
:httpd_service_name => 'apache2',
|
:httpd_service_name => 'apache2',
|
||||||
:httpd_ports_file => '/etc/apache2/ports.conf',
|
:httpd_ports_file => '/etc/apache2/ports.conf',
|
||||||
:wsgi_script_path => '/usr/lib/cgi-bin/mistral',
|
:wsgi_script_path => '/usr/lib/cgi-bin/mistral',
|
||||||
:wsgi_script_source => '/usr/share/mistral-common/wsgi.py'
|
:wsgi_script_source => '/usr/lib/python2.7/dist-packages/mistral/api/wsgi.py'
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user