From 16819951038c464d330233d0d3df4173420f14ae Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Wed, 18 Mar 2015 13:45:40 +1300 Subject: [PATCH] Install missing heat agent projects This change adds the dib-utils repo, and adds git_clone calls for the required os-*-config projects. Change-Id: I2641feb0c462d2940f2698515ff62a2ff06c0e70 --- lib/heat | 7 ++++++- stackrc | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/heat b/lib/heat index cef70692c7..b8a434bdb7 100644 --- a/lib/heat +++ b/lib/heat @@ -36,6 +36,7 @@ HEAT_DIR=$DEST/heat HEAT_CFNTOOLS_DIR=$DEST/heat-cfntools HEAT_TEMPLATES_REPO_DIR=$DEST/heat-templates OCC_DIR=$DEST/os-collect-config +DIB_UTILS_DIR=$DEST/dib-utils ORC_DIR=$DEST/os-refresh-config OAC_DIR=$DEST/os-apply-config @@ -224,6 +225,10 @@ function install_heat { function install_heat_other { git_clone $HEAT_CFNTOOLS_REPO $HEAT_CFNTOOLS_DIR $HEAT_CFNTOOLS_BRANCH git_clone $HEAT_TEMPLATES_REPO $HEAT_TEMPLATES_REPO_DIR $HEAT_TEMPLATES_BRANCH + git_clone $OAC_REPO $OAC_DIR $OAC_BRANCH + git_clone $OCC_REPO $OCC_DIR $OCC_BRANCH + git_clone $ORC_REPO $ORC_DIR $ORC_BRANCH + git_clone $DIB_UTILS_REPO $DIB_UTILS_DIR $DIB_UTILS_BRANCH } # start_heat() - Start running processes, including screen @@ -304,7 +309,7 @@ function create_heat_accounts { # build_heat_pip_mirror() - Build a pip mirror containing heat agent projects function build_heat_pip_mirror { - local project_dirs="$OCC_DIR $OAC_DIR $ORC_DIR $HEAT_CFNTOOLS_DIR" + local project_dirs="$OCC_DIR $OAC_DIR $ORC_DIR $HEAT_CFNTOOLS_DIR $DIB_UTILS_DIR" local projpath proj package rm -rf $HEAT_PIP_REPO diff --git a/stackrc b/stackrc index 02b12a36a0..f8d9c43c38 100644 --- a/stackrc +++ b/stackrc @@ -427,6 +427,10 @@ GITBRANCH["ceilometermiddleware"]=${CEILOMETERMIDDLEWARE_BRANCH:-master} # ################## +# run-parts script required by os-refresh-config +DIB_UTILS_REPO=${DIB_UTILS_REPO:-${GIT_BASE}/openstack/dib-utils.git} +DIB_UTILS_BRANCH=${DIB_UTILS_BRANCH:-master} + # os-apply-config configuration template tool OAC_REPO=${OAC_REPO:-${GIT_BASE}/openstack/os-apply-config.git} OAC_BRANCH=${OAC_BRANCH:-master}