Sha256: 42dcf84dc7d5c67868b94b41b1b611d078925021b8decd3ca19823b3bf43ac57

Contents?: true

Size: 484 Bytes

Versions: 75

Compression:

Stored size: 484 Bytes

Contents

<%
  @path = "#{Rubber.root}/config/database.yml"
%>

# Sets up rails to talk to mysql-proxy load balancer running on localhost,
# which then then balances requests between sql nodes in the cluster
<%= Rubber.env %>:
  adapter: <%= YAML::load(File.open("#{Rubber.root}/config/database.yml"))["production"]["adapter"] %>
  encoding: utf8
  database: <%= rubber_env.db_name %>
  username: <%= rubber_env.db_user %>
  password: <%= rubber_env.db_pass %>
  host: 127.0.0.1
  port: 4040


Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
rubber-2.9.0 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.8.1 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.8.0 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.7.5 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.7.4 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.7.3 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.7.2 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.7.1 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.7.0 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.6.5 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.6.4 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.6.3 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.6.2 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.6.1 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.6.0 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.5.5 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.5.4 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.5.3 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.5.2 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.5.1 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml