File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ set +o xtrace
3131# set up default directories
3232HEAT_DIR=$DEST/heat
3333HEATCLIENT_DIR=$DEST/python-heatclient
34+ HEAT_CFNTOOLS_DIR=$DEST/heat-cfntools
35+ HEAT_TEMPLATES_REPO_DIR=$DEST/heat-templates
3436HEAT_AUTH_CACHE_DIR=${HEAT_AUTH_CACHE_DIR:-/var/cache/heat}
3537HEAT_STANDALONE=`trueorfalse False $HEAT_STANDALONE`
3638HEAT_CONF_DIR=/etc/heat
@@ -179,6 +181,12 @@ function install_heat {
179181 git_clone $HEAT_REPO $HEAT_DIR $HEAT_BRANCH
180182}
181183
184+ # install_heat_other() - Collect source and prepare
185+ function install_heat_other {
186+ git_clone $HEAT_CFNTOOLS_REPO $HEAT_CFNTOOLS_DIR $HEAT_CFNTOOLS_BRANCH
187+ git_clone $HEAT_TEMPLATES_REPO $HEAT_TEMPLATES_REPO_DIR $HEAT_TEMPLATES_BRANCH
188+ }
189+
182190# start_heat() - Start running processes, including screen
183191function start_heat {
184192 screen_it h-eng "cd $HEAT_DIR; bin/heat-engine --config-file=$HEAT_CONF"
Original file line number Diff line number Diff line change 812812
813813if is_service_enabled heat; then
814814 install_heat
815+ install_heat_other
815816 cleanup_heat
816817 configure_heat
817818fi
Original file line number Diff line number Diff line change @@ -152,6 +152,14 @@ HEAT_BRANCH=${HEAT_BRANCH:-master}
152152HEATCLIENT_REPO=${HEATCLIENT_REPO:-${GIT_BASE}/openstack/python-heatclient.git}
153153HEATCLIENT_BRANCH=${HEATCLIENT_BRANCH:-master}
154154
155+ # heat-cfntools server agent
156+ HEAT_CFNTOOLS_REPO=${HEAT_CFNTOOLS_REPO:-${GIT_BASE}/openstack/heat-cfntools.git}
157+ HEAT_CFNTOOLS_BRANCH=${HEAT_CFNTOOLS_BRANCH:-master}
158+
159+ # heat example templates and elements
160+ HEAT_TEMPLATES_REPO=${HEAT_TEMPLATES_REPO:-${GIT_BASE}/openstack/heat-templates.git}
161+ HEAT_TEMPLATES_BRANCH=${HEAT_TEMPLATES_BRANCH:-master}
162+
155163# django powered web control panel for openstack
156164HORIZON_REPO=${HORIZON_REPO:-${GIT_BASE}/openstack/horizon.git}
157165HORIZON_BRANCH=${HORIZON_BRANCH:-master}
You can’t perform that action at this time.
0 commit comments