Ubuntu/Debian: Adjust wsgi script path
The script generated by pbr no longer exists. Depends-on: https://review.opendev.org/983416 Change-Id: I88e861bd861db061323324eb9d4371bd9d6f1a01 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ class glance::params {
|
||||
$pyceph_package_name = 'python3-ceph'
|
||||
$lock_path = '/var/lock/glance'
|
||||
$glance_wsgi_script_path = '/usr/lib/cgi-bin/glance'
|
||||
$glance_wsgi_script_source = '/usr/bin/glance-wsgi-api'
|
||||
$glance_wsgi_script_source = "${pybasedir}/glance/wsgi/api.py"
|
||||
}
|
||||
default: {
|
||||
fail("Unsupported osfamily: ${facts['os']['family']}")
|
||||
|
||||
@@ -160,7 +160,7 @@ describe 'glance::wsgi::apache' do
|
||||
when 'Debian'
|
||||
{
|
||||
:wsgi_script_path => '/usr/lib/cgi-bin/glance',
|
||||
:wsgi_script_source => '/usr/bin/glance-wsgi-api'
|
||||
:wsgi_script_source => '/usr/lib/python3/dist-packages/glance/wsgi/api.py',
|
||||
}
|
||||
when 'RedHat'
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user