this is missing, and the code assumes "heat" to be in the
enabled services list otherwise.
Change-Id: Ib0a7db04d8e38b58aca48261308e7c4d1fd43972
| ... | ... |
@@ -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 {
|