Install openstack-health in editable mode
Due to the magic of non-determinism that is python packaging for whatever reason the wsgi_script entrypoint is not being generated when installing openstack-health in non-editable mode. So while we wait for the local witch doctor to remove the curse from the system this switches to using editable installs to move forward. As part of this change the exec for running pip to install openstack-health is also improved. Change-Id: If5e166d6cba0553f160eabde491d0230e4834f01
This commit is contained in:
parent
e091e45134
commit
9d625d903d
@ -40,8 +40,10 @@ class openstack_health::api(
|
||||
}
|
||||
|
||||
exec { 'package-application':
|
||||
command => "${virtualenv_dir}/bin/pip install ${source_dir}",
|
||||
require => Python::Requirements["${source_dir}/requirements.txt"],
|
||||
command => "${virtualenv_dir}/bin/pip install -e ${source_dir}",
|
||||
require => Python::Requirements["${source_dir}/requirements.txt"],
|
||||
refreshonly => true,
|
||||
subscribe => Vcsrepo[$source_dir],
|
||||
}
|
||||
|
||||
file { '/etc/openstack-health.conf':
|
||||
|
Loading…
Reference in New Issue
Block a user