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.5.3 templates/percona/config/rubber/common/database.yml
rubber-2.5.2 templates/percona/config/rubber/common/database.yml
rubber-2.5.2 templates/mysql/config/rubber/common/database.yml
rubber-2.5.1 templates/mysql/config/rubber/common/database.yml
rubber-2.5.1 templates/percona/config/rubber/common/database.yml
rubber-2.5.0 templates/mysql/config/rubber/common/database.yml
rubber-2.5.0 templates/percona/config/rubber/common/database.yml
rubber-2.4.2 templates/percona/config/rubber/common/database.yml
rubber-2.4.2 templates/mysql/config/rubber/common/database.yml
rubber-2.4.1 templates/percona/config/rubber/common/database.yml
rubber-2.4.1 templates/mysql/config/rubber/common/database.yml
rubber-2.4.0 templates/mysql/config/rubber/common/database.yml
rubber-2.4.0 templates/percona/config/rubber/common/database.yml
rubber-2.3.1 templates/mysql/config/rubber/common/database.yml
rubber-2.3.1 templates/percona/config/rubber/common/database.yml
rubber-2.3.0 templates/percona/config/rubber/common/database.yml
rubber-2.3.0 templates/mysql/config/rubber/common/database.yml
rubber-2.2.4 templates/mysql/config/rubber/common/database.yml
rubber-2.2.4 templates/percona/config/rubber/common/database.yml
rubber-2.2.3 templates/mysql/config/rubber/common/database.yml