Browse code

Merge "as is_heat_enabled"

Jenkins authored on 2014/03/15 21:30:58
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 {