aboutsummaryrefslogtreecommitdiffstats
path: root/keystone-moon/debian/patches/fixes-default-connection.patch
diff options
context:
space:
mode:
Diffstat (limited to 'keystone-moon/debian/patches/fixes-default-connection.patch')
-rw-r--r--keystone-moon/debian/patches/fixes-default-connection.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/keystone-moon/debian/patches/fixes-default-connection.patch b/keystone-moon/debian/patches/fixes-default-connection.patch
new file mode 100644
index 00000000..5a9e03d8
--- /dev/null
+++ b/keystone-moon/debian/patches/fixes-default-connection.patch
@@ -0,0 +1,19 @@
+Description: Fixes default db config
+ Sets SQLite by default, so that db_sync can work in a non-interactive mode.
+Author: Thomas Goirand <zigo@debian.org>
+Forwarded: no
+Last-Update: 2014-03-28
+
+Index: keystone/etc/keystone.conf.sample
+===================================================================
+--- keystone.orig/etc/keystone.conf.sample
++++ keystone/etc/keystone.conf.sample
+@@ -546,7 +546,7 @@
+ # Deprecated group/name - [DEFAULT]/sql_connection
+ # Deprecated group/name - [DATABASE]/sql_connection
+ # Deprecated group/name - [sql]/connection
+-#connection = <None>
++connection=sqlite:////var/lib/keystone/keystone.sqlite
+
+ # The SQLAlchemy connection string to use to connect to the slave database.
+ # (string value)