From 92028e8a6ad9182909767fad4f3f1d317917ad57 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Wed, 24 Sep 2014 18:48:43 +0800 Subject: [PATCH] Fixed the DB connection directive name and section. --- debian/changelog | 6 ++++++ debian/cinder-common.config.in | 2 +- debian/cinder-common.postinst.in | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 8e570578c..d564049ea 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +cinder (2014.2~b3-2) experimental; urgency=medium + + * Fixed the DB connection directive name and section. + + -- Thomas Goirand Wed, 24 Sep 2014 18:50:02 +0800 + cinder (2014.2~b3-1) experimental; urgency=medium [ Thomas Goirand ] diff --git a/debian/cinder-common.config.in b/debian/cinder-common.config.in index ec9fc6bcc..3ebfbd6cc 100644 --- a/debian/cinder-common.config.in +++ b/debian/cinder-common.config.in @@ -8,7 +8,7 @@ CINDER_CONF=/etc/cinder/cinder.conf #PKGOS-INCLUDE# pkgos_var_user_group cinder -pkgos_dbc_read_conf -pkg cinder-common ${CINDER_CONF} DEFAULT sql_connection cinder $@ +pkgos_dbc_read_conf -pkg cinder-common ${CINDER_CONF} database connection cinder $@ pkgos_rabbit_read_conf ${CINDER_CONF} DEFAULT cinder pkgos_read_admin_creds ${CINDER_CONF} keystone_authtoken cinder diff --git a/debian/cinder-common.postinst.in b/debian/cinder-common.postinst.in index d949ac9d1..443a20aea 100644 --- a/debian/cinder-common.postinst.in +++ b/debian/cinder-common.postinst.in @@ -21,7 +21,7 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then pkgos_write_new_conf cinder cinder.conf pkgos_write_new_conf cinder api-paste.ini pkgos_write_new_conf cinder logging.conf - pkgos_dbc_postinst ${CINDER_CONF} DEFAULT sql_connection cinder $@ + pkgos_dbc_postinst ${CINDER_CONF} database connection cinder $@ pkgos_rabbit_write_conf ${CINDER_CONF} DEFAULT cinder pkgos_write_admin_creds ${CINDER_CONF} keystone_authtoken cinder db_get cinder/volume_group -- 2.45.2