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:
Matthew Treinish 2015-10-20 20:07:21 -04:00
parent e091e45134
commit 9d625d903d
No known key found for this signature in database
GPG Key ID: FD12A0F214C9E177

View File

@ -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':