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-3.2.2 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-3.2.1 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-3.2.0 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-3.1.0 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-3.0.1 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-3.0.0 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.16.0 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.15.2 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.15.1 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.15.0 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.14.0 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.13.1 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.13.0 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.12.2 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.12.1 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.12.0 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.11.0 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.10.2 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.10.1 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml
rubber-2.10.0 templates/mysql_proxy/config/rubber/mysql_proxy/database.yml