From 4663839561e7722193b377cdda94e58f05629695 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Tue, 20 Jan 2015 17:25:53 +0100 Subject: [PATCH] glance -> heat for the heat/configure_db template in postinst. Rewritten-From: 9555c37ca8f7b60bf0ac6233a00b999ed30fce85 --- trusty/debian/heat-common.postinst.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trusty/debian/heat-common.postinst.in b/trusty/debian/heat-common.postinst.in index 91490018..1374b231 100644 --- a/trusty/debian/heat-common.postinst.in +++ b/trusty/debian/heat-common.postinst.in @@ -19,7 +19,7 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then chown heat:heat /var/lib/heat /etc/heat pkgos_write_new_conf heat heat.conf - db_get glance/configure_db + db_get heat/configure_db if [ "$RET" = "true" ] ; then pkgos_dbc_postinst ${CONF} database connection heat $@ fi @@ -27,7 +27,7 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then pkgos_write_admin_creds ${CONF} keystone_authtoken heat pkgos_register_endpoint_postinst heat heat orchestration "Heat Orchestration API" 8004 /v1/'%(tenant_id)s' # This is the equivalent of db-sync: - db_get glance/configure_db + db_get heat/configure_db if [ "$RET" = "true" ] ; then su heat -c "heat-manage db_sync" fi -- 2.45.2