Browse code

Add h-api to suggested ENABLED_SERVICES for Heat

Currently lib/heat says:

To enable, add the following to localrc
ENABLED_SERVICES+=,heat,h-api-cfn,h-api-cw,h-eng

Once the stack is up, `heat list` fails because the API server
isn't running.

This commit adds h-api to that list.
Also make sure h-api is killed in stop_heat().

Change-Id: I2e818bb343680b3778f9277c23c766f784d28887

Kieran Spear authored on 2013/05/28 10:31:31
Showing 1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 # Install and start **Heat** service
3 3
 
4 4
 # To enable, add the following to localrc
5
-# ENABLED_SERVICES+=,heat,h-api-cfn,h-api-cw,h-eng
5
+# ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
6 6
 
7 7
 # Dependencies:
8 8
 # - functions
... ...
@@ -193,8 +193,8 @@ function start_heat() {
193 193
 
194 194
 # stop_heat() - Stop running processes
195 195
 function stop_heat() {
196
-    # Kill the cinder screen windows
197
-    for serv in h-eng h-api-cfn h-api-cw; do
196
+    # Kill the screen windows
197
+    for serv in h-eng h-api h-api-cfn h-api-cw; do
198 198
         screen -S $SCREEN_NAME -p $serv -X kill
199 199
     done
200 200
 }