as is_heat_enabled

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

Change-Id: Ib0a7db04d8e38b58aca48261308e7c4d1fd43972
This commit is contained in:
Sean Dague 2014-03-14 14:32:01 -04:00
parent 1fef36e526
commit 29870cce32
1 changed files with 7 additions and 0 deletions

View File

@ -45,6 +45,13 @@ TEMPEST_SERVICES+=,heat
# Functions
# ---------
# Test if any Heat services are enabled
# is_heat_enabled
function is_heat_enabled {
[[ ,${ENABLED_SERVICES} =~ ,"h-" ]] && return 0
return 1
}
# cleanup_heat() - Remove residual data files, anything left over from previous
# runs that a clean run would need to clean up
function cleanup_heat {