database.yml contains only one entry for the current evironment

This PR fixes https://github.com/aws/opsworks-cookbooks/issues/246