It's being used in all of the core projects, so we should install it
at the start so we can ensure that we don't break everything all at
once.
Change-Id: I326d724264803e88315ee9e40f4634836baf6e0b
| ... | ... |
@@ -273,6 +273,7 @@ source $TOP_DIR/lib/ldap |
| 273 | 273 |
|
| 274 | 274 |
# Set the destination directories for OpenStack projects |
| 275 | 275 |
OPENSTACKCLIENT_DIR=$DEST/python-openstackclient |
| 276 |
+PBR_DIR=$DEST/pbr |
|
| 276 | 277 |
|
| 277 | 278 |
|
| 278 | 279 |
# Interactive Configuration |
| ... | ... |
@@ -610,6 +611,10 @@ fi |
| 610 | 610 |
|
| 611 | 611 |
echo_summary "Installing OpenStack project source" |
| 612 | 612 |
|
| 613 |
+# Install pbr |
|
| 614 |
+git_clone $PBR_REPO $PBR_DIR $PBR_BRANCH |
|
| 615 |
+setup_develop $PBR_DIR |
|
| 616 |
+ |
|
| 613 | 617 |
# Install clients libraries |
| 614 | 618 |
install_keystoneclient |
| 615 | 619 |
install_glanceclient |
| ... | ... |
@@ -157,6 +157,11 @@ BM_IMAGE_BUILD_BRANCH=${BM_IMAGE_BUILD_BRANCH:-master}
|
| 157 | 157 |
BM_POSEUR_REPO=${BM_POSEUR_REPO:-${GIT_BASE}/tripleo/bm_poseur.git}
|
| 158 | 158 |
BM_POSEUR_BRANCH=${BM_POSEUR_BRANCH:-master}
|
| 159 | 159 |
|
| 160 |
+# pbr |
|
| 161 |
+# Used to drive the setuptools configs |
|
| 162 |
+PBR_REPO=${PBR_REPO:-${GIT_BASE}/openstack-dev/pbr.git}
|
|
| 163 |
+PBR_BRANCH=${PBR_BRANCH:-master}
|
|
| 164 |
+ |
|
| 160 | 165 |
# Nova hypervisor configuration. We default to libvirt with **kvm** but will |
| 161 | 166 |
# drop back to **qemu** if we are unable to load the kvm module. ``stack.sh`` can |
| 162 | 167 |
# also install an **LXC** or **OpenVZ** based system. |