Browse code

as is_heat_enabled

this is missing, and the code assumes "heat" to be in the
enabled services list otherwise.

Change-Id: Ib0a7db04d8e38b58aca48261308e7c4d1fd43972

Sean Dague authored on 2014/03/15 03:32:01
Showing 1 changed files
... ...
@@ -45,6 +45,13 @@ TEMPEST_SERVICES+=,heat
45 45
 # Functions
46 46
 # ---------
47 47
 
48
+# Test if any Heat services are enabled
49
+# is_heat_enabled
50
+function is_heat_enabled {
51
+    [[ ,${ENABLED_SERVICES} =~ ,"h-" ]] && return 0
52
+    return 1
53
+}
54
+
48 55
 # cleanup_heat() - Remove residual data files, anything left over from previous
49 56
 # runs that a clean run would need to clean up
50 57
 function cleanup_heat {