]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
chmod 0660 /etc/neutron/neutron.conf
authorThomas Goirand <thomas@goirand.fr>
Fri, 2 Aug 2013 12:58:26 +0000 (14:58 +0200)
committerThomas Goirand <thomas@goirand.fr>
Fri, 2 Aug 2013 13:30:31 +0000 (15:30 +0200)
Config script reads the info from the correct directive.

debian/neutron-common.config.in
debian/neutron-common.postinst.in

index 77efbb28aec4248e5cc16531efd0cf599ada9a96..d331800fa31defd19ec543b90ac4004efbf1213e 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 sql_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 317e503e9c25c17e6fbc9610a9f5c3f9ccc65edb..c1c767c4ba03d6c0aeb3e29280f905abf40ca396 100644 (file)
@@ -64,6 +64,7 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
 
        pkgos_write_new_conf neutron api-paste.ini
        pkgos_write_new_conf neutron neutron.conf
+       chmod 0660 /etc/neutron/neutron.conf
 
        # Maintain the /etc/default/neutron plugin type selection
        # and fill-out the core_plugin class path in /etc/neutron/neutron.conf