]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
glance -> heat for the heat/configure_db template in postinst.
authorThomas Goirand <thomas@goirand.fr>
Tue, 20 Jan 2015 16:25:53 +0000 (17:25 +0100)
committerThomas Goirand <thomas@goirand.fr>
Tue, 20 Jan 2015 16:25:53 +0000 (17:25 +0100)
Rewritten-From: 9555c37ca8f7b60bf0ac6233a00b999ed30fce85

trusty/debian/heat-common.postinst.in

index 9149001835db6a742a444c5eef94bf46f0e58394..1374b2314475984c9cd5b8be18b1651a43aa54a4 100644 (file)
@@ -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