aws/opsworks-cookbooks — pull request #166 by ziggythehamster (2014-07-09 23:47:20+00:00)
Title: [Chef 11.10] Support auto-detecting Postgres databases and using the right adapter

`RailsConfiguration.determine_database_adapter` defaults to the "mysql" adapter if it doesn't find mysql2 in the bundle. This PR adds support for checking for the "pg" gem, and if so, using the "postgresql" adapter.

License: Public Domain. Do anything you want with this PR, including relicensing.