summaryrefslogtreecommitdiff
path: root/contrib/auto-naming/db-config.rb
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2007-10-08 23:40:52 +0000
committerPeter Palfrader <peter@palfrader.org>2007-10-08 23:40:52 +0000
commitff19400cb0d8c558c6e7a8937cd759bc9a76d795 (patch)
tree09099ba42c4a5d222f629e4065b26734c6acef6e /contrib/auto-naming/db-config.rb
parent11a782a6c3ae1d7becbc7895f5e896ed099c1d78 (diff)
downloadtor-ff19400cb0d8c558c6e7a8937cd759bc9a76d795.tar.gz
tor-ff19400cb0d8c558c6e7a8937cd759bc9a76d795.zip
Commit this stuff somewhere before I delete it accidentally
svn:r11794
Diffstat (limited to 'contrib/auto-naming/db-config.rb')
-rw-r--r--contrib/auto-naming/db-config.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/auto-naming/db-config.rb b/contrib/auto-naming/db-config.rb
new file mode 100644
index 0000000000..3cf2dbe32a
--- /dev/null
+++ b/contrib/auto-naming/db-config.rb
@@ -0,0 +1,6 @@
+$CONFIG = {} unless $CONFIG
+$CONFIG['database'] = {} unless $CONFIG['database']
+
+$CONFIG['database']['dbname'] = 'tornaming';
+$CONFIG['database']['user'] = 'tornaming';
+$CONFIG['database']['password'] = 'x';