From: Thomas Goirand Date: Tue, 20 Jan 2015 16:25:53 +0000 (+0100) Subject: glance -> heat for the heat/configure_db template in postinst. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b534b1852f6b4e3acd1a6f3a9cfc3d108d939255;p=openstack-build%2Fheat-build.git glance -> heat for the heat/configure_db template in postinst. Rewritten-From: 9555c37ca8f7b60bf0ac6233a00b999ed30fce85 --- diff --git a/xenial/debian/heat-common.postinst.in b/xenial/debian/heat-common.postinst.in index 91490018..1374b231 100644 --- a/xenial/debian/heat-common.postinst.in +++ b/xenial/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