If heat is enabled, replace nova flavors.

All heat users will need to run heat/tools/nova_create_flavors.sh as an admin
user. This change runs nova_create_flavors.sh if heat is enabled.

This saves the hassle of switching to an admin user and running this every time
devstack is started.

Flavors are changed in heat_init, so heat_init is deferred until after nova
is running.

Change-Id: I4576c83f5ef55809567e40e56c25eb0e1bbe6d45
diff --git a/lib/heat b/lib/heat
index 80e3f7a..7fb5fcc 100644
--- a/lib/heat
+++ b/lib/heat
@@ -189,6 +189,7 @@
     mysql -u$MYSQL_USER -p$MYSQL_PASSWORD -e 'CREATE DATABASE heat CHARACTER SET utf8;'
 
     $HEAT_DIR/bin/heat-db-setup $os_PACKAGE -r $MYSQL_PASSWORD
+    $HEAT_DIR/tools/nova_create_flavors.sh
 }
 
 # install_heat() - Collect source and prepare