Browse code

make install_heatclient like other client installs

all the other install_*client functions do the setup develop
inline. Do the same thing for heat.

Change-Id: Ib2043580af6b7f14f24f7304e5f47f4523517d06

Sean Dague authored on 2013/07/26 04:34:48
Showing 2 changed files
... ...
@@ -41,11 +41,6 @@ function cleanup_heat() {
41 41
     sudo rm -rf $HEAT_AUTH_CACHE_DIR
42 42
 }
43 43
 
44
-# configure_heatclient() - Set config files, create data dirs, etc
45
-function configure_heatclient() {
46
-    setup_develop $HEATCLIENT_DIR
47
-}
48
-
49 44
 # configure_heat() - Set config files, create data dirs, etc
50 45
 function configure_heat() {
51 46
     setup_develop $HEAT_DIR
... ...
@@ -176,6 +171,7 @@ function create_heat_cache_dir() {
176 176
 # install_heatclient() - Collect source and prepare
177 177
 function install_heatclient() {
178 178
     git_clone $HEATCLIENT_REPO $HEATCLIENT_DIR $HEATCLIENT_BRANCH
179
+    setup_develop $HEATCLIENT_DIR
179 180
 }
180 181
 
181 182
 # install_heat() - Collect source and prepare
... ...
@@ -739,11 +739,10 @@ if is_service_enabled ceilometer; then
739 739
 fi
740 740
 
741 741
 if is_service_enabled heat; then
742
-    install_heat
743 742
     install_heatclient
743
+    install_heat
744 744
     cleanup_heat
745 745
     configure_heat
746
-    configure_heatclient
747 746
 fi
748 747
 
749 748
 if is_service_enabled tls-proxy; then