aboutsummaryrefslogtreecommitdiffstats
path: root/config/deploy/database.rb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2013-06-13 22:46:32 +0200
committerHarald Eilertsen <haraldei@anduin.net>2013-06-13 22:48:20 +0200
commit5d91fe446f1aab0bb71db537305dde9496574944 (patch)
tree5d8767e941603c9898938b6e49bfb73f88d15fb9 /config/deploy/database.rb
parentadaed6db74ee721e6a987454addb6b2e4c13b1e5 (diff)
downloadhmnoweb-5d91fe446f1aab0bb71db537305dde9496574944.tar.gz
hmnoweb-5d91fe446f1aab0bb71db537305dde9496574944.tar.bz2
hmnoweb-5d91fe446f1aab0bb71db537305dde9496574944.zip
Add generic database template.
Diffstat (limited to 'config/deploy/database.rb')
-rw-r--r--config/deploy/database.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/deploy/database.rb b/config/deploy/database.rb
index 68236d1..a42e6e6 100644
--- a/config/deploy/database.rb
+++ b/config/deploy/database.rb
@@ -131,7 +131,7 @@ Capistrano::Configuration.instance.load do
<<: *base
EOF
- location = fetch(:template_dir, "config/deploy") + '/database.yml.mysql'
+ location = fetch(:template_dir, "config/deploy") + '/database.yml.erb'
template = File.file?(location) ? File.read(location) : default_template
config = ERB.new(template)