placement: install osc-placement

This makes sure that the openstack client placement plugin gets
installed when either LIBS_FROM_GIT includes osc-placement or
placement is used, which is always now if you've enabled nova,
which is enabled by default.

Co-Authored-By: Matt Riedemann <mriedem.os@gmail.com>

Depends-On: Ica83e29780722dd1555904e46b9ff1d1fdf72516

Change-Id: I7c5a5c10288b356302bb3027837d4ed4f0fbad8c
This commit is contained in:
Roman Podoliaka
2017-04-18 16:18:14 +03:00
committed by Sean Dague
parent 63651db44d
commit a066abedac
4 changed files with 11 additions and 1 deletions

View File

@@ -159,6 +159,9 @@ function init_placement {
# install_placement() - Collect source and prepare
function install_placement {
install_apache_wsgi
# Install the openstackclient placement client plugin for CLI
# TODO(mriedem): Use pip_install_gr once osc-placement is in g-r.
pip_install osc-placement
}
# start_placement_api() - Start the API processes ahead of other things