poise / application_ruby

Development repository for Opscode Cookbook application_ruby
Apache License 2.0
124 stars 153 forks source link

Support SSL DB Connection Configs #75

Closed hstrowd closed 9 years ago

hstrowd commented 9 years ago

MySQL database connections can support SSL Connections using the sslca, sslkey, sslcert, sslcapath, and sslcipher configuration parameters (see http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/MysqlAdapter.html). I'd like to go ahead and add support for these to the database template.

coderanger commented 9 years ago

If you look, there isn't (really) a template anymore. All config options from the database block/hash are in the final Yaml.

coderanger commented 9 years ago

Specifically https://github.com/poise/application_ruby/blob/master/chef/templates/database.yml.erb is the database template now.