Sha256: 58d84e1544fd615a7c3f716e559f679281316609408e8936dd9d772496f31f5c

Contents?: true

Size: 521 Bytes

Versions: 6

Compression:

Stored size: 521 Bytes

Contents

#TODO add your own passwords
inside "#{@project_path}/config" do
  remove_file 'database.yml'
  create_file 'database.yml' do <<-EOF
development:
  adapter: mysql2
  encoding: utf8
  database: #{@project_name}
  pool: 5
  username: #{Config.settings['mysql']['user']}
  password: #{Config.settings['mysql']['password']}

test:
  adapter: mysql2
  encoding: utf8
  database: #{@project_name}_test
  pool: 5
  username: #{Config.settings['mysql']['user']}
  password: #{Config.settings['mysql']['password']}
  EOF
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
r5-0.1.5 lib/r5/recipes/mysql.rb
r4-0.1.5 lib/r4/recipes/mysql.rb
r4-0.1.4 lib/r4/recipes/mysql.rb
r4-0.1.3 lib/r4/recipes/mysql.rb
r4-0.1.2 lib/r4/recipes/mysql.rb
r4-0.1.1 lib/r4/recipes/mysql.rb