Closed ghost closed 8 years ago
Fixed the rubocop errors. Is there any way to start a new build?
Thanks for the pull request. I have merged it to master. I made a few changes due to conflict, missing test and data-bag handling.
https://github.com/bflad/chef-stash/blob/eadae4319b2c41ba041177908c7a78ab5cefb11d/libraries/stash.rb#L26 https://github.com/bflad/chef-stash/blob/eadae4319b2c41ba041177908c7a78ab5cefb11d/spec/database_spec.rb#L34 https://github.com/bflad/chef-stash/blob/eadae4319b2c41ba041177908c7a78ab5cefb11d/spec/database_spec.rb#L80
This is for a feature request, issue #159. This creates a new attribute in the name space ['stash']['database']['query_string'] where the attribute is a string. The string is appended to the end of the jdbc url for things like encrypting the connection to the database via SSL. The feature is for postgresql, mysql, and sqlserver. The default value for the attribute is an empty string.