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:
Emilien Macchi
2016-05-25 10:54:10 -04:00
parent c17c5d2b47
commit 5b1eaad3d5
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ class mistral::params {
$executor_package_name = 'mistral-executor'
$executor_service_name = 'mistral-executor'
$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: {
fail("Unsupported osfamily: ${::osfamily} operatingsystem: \

View File

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