]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Correct direct and section for SQL "connection" directive.
authorThomas Goirand <thomas@goirand.fr>
Fri, 2 Aug 2013 13:34:52 +0000 (15:34 +0200)
committerThomas Goirand <thomas@goirand.fr>
Fri, 2 Aug 2013 13:34:52 +0000 (15:34 +0200)
debian/neutron-common.config.in
debian/neutron-common.postinst.in

index d331800fa31defd19ec543b90ac4004efbf1213e..67b52ffaed2767fd3e3552532610694253292cf7 100644 (file)
@@ -13,7 +13,7 @@ pkgos_var_user_group neutron
 chmod 755 /var/lib/neutron
 
 # Configure the SQL connection
-pkgos_dbc_read_conf -pkg neutron-common ${OVS_CONF} DATABASE connection neutron $@
+pkgos_dbc_read_conf -pkg neutron-common ${OVS_CONF} database connection neutron $@
 
 # Configure the keystone_authtoken
 pkgos_read_admin_creds ${N_CONF} keystone_authtoken neutron
index c1c767c4ba03d6c0aeb3e29280f905abf40ca396..0cc79c38d786ce866cf884bcb9ee4a7a5a77d8af 100644 (file)
@@ -84,7 +84,7 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
        pkgos_write_admin_creds ${N_CONF} keystone_authtoken neutron
 
        # Set the sql_connection directive
-        pkgos_dbc_postinst --suite neutron ${N_CONF} DATABASE sql_connection neutron $@
+        pkgos_dbc_postinst --suite neutron ${N_CONF} database connection neutron $@
 
        # Maintain the OVS config
         if [ ! -e ${OVS_CONF} ] ; then