Sha256: a38171287b674ad6f3890e5195bd6575949f794ad79ff548b9906bfe2d50d2e4

Contents?: true

Size: 399 Bytes

Versions: 106

Compression:

Stored size: 399 Bytes

Contents

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

<%= 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: <%= rubber_instances.for_role('db', 'primary' => true).first.full_name %>
  pool: 5

Version data entries

106 entries across 75 versions & 1 rubygems

Version Path
rubber-2.0.0.pre6 templates/mysql/config/rubber/common/database.yml
rubber-2.0.0.pre5 templates/mysql/config/rubber/common/database.yml
rubber-2.0.0.pre4 templates/mysql/config/rubber/common/database.yml
rubber-2.0.0.pre3 templates/mysql/config/rubber/common/database.yml
rubber-2.0.0.pre2 templates/mysql/config/rubber/common/database.yml
rubber-2.0.0.pre1 templates/mysql/config/rubber/common/database.yml