summaryrefslogtreecommitdiff
path: root/lib/chef/resource/openssl_dhparam.rb
Commit message (Collapse)AuthorAgeFilesLines
* fix Layout/AlignArgumentslcg/new-chefstyleLamont Granquist2019-07-021-14/+14
| | | | | | | | | | | | | | this is using: Layout/AlignArguments: Enabled: true EnforcedStyle: with_fixed_indentation the default style can use really excessive whitespace. on starting lines which are already long, it fully indents across to where the arguments start and then begins the line there. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix a bunch of weirdly mangled require linesLamont Granquist2019-05-081-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Convert require to require_relativeLamont Granquist2019-05-081-2/+2
| | | | | | | This gives a speed boost since rubygems does not have to scan through every gem in the gemset in order to find the file. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Simplify openssl_dhparam mode fixbtm/MSYS-955_openssl_dhparam_mode_fixBryan McLellan2019-02-211-20/+11
| | | | | | Reduce this down to a single file resource Signed-off-by: Bryan McLellan <btm@loftninjas.org>
* update property for existing filedheerajd-msys2019-02-211-4/+14
| | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* test case addeddheerajd-msys2019-02-211-10/+10
| | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* fix for resource properties updatedheerajd-msys2019-02-211-3/+1
| | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* Allow Integers for all group / owner propertiesTim Smith2018-11-161-2/+2
| | | | | | We did for many of them, but not all. Many of these should get switched over to securable, but this is a solid first step to give a more consistent user experience. Signed-off-by: Tim Smith <tsmith@chef.io>
* More resource description updatesTim Smith2018-11-071-1/+1
| | | | | | Better descriptions for many name properties and copy edits from the docs site. Signed-off-by: Tim Smith <tsmith@chef.io>
* openssl_*: Update property descriptions and remove extra nil typesTim Smith2018-08-311-4/+4
| | | | | | | | We allowed String, nil, which is a legacy thing that's not longer necessary. Just make these String. This syncs all the properties with what I just pushed up to the docs site. It cleans up some wording around owner/group properties and fixes typos. Signed-off-by: Tim Smith <tsmith@chef.io>
* Cleanup existing property descriptions to match the docsTim Smith2018-08-291-1/+1
| | | | | | We fixed up some wording on the docs site. This backports those fixes Signed-off-by: Tim Smith <tsmith@chef.io>
* Add author / copyrights to the new openssl resourcesTim Smith2018-08-271-4/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove declare_resource usageTim Smith2018-08-141-1/+1
| | | | | | We don't need this with custom resources Signed-off-by: Tim Smith <tsmith@chef.io>
* Add missing periods in descriptionsTim Smith2018-07-091-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Modify the provides for all resources from cookbooks so chef winsprovidesTim Smith2018-04-061-0/+1
| | | | | | Due to changes in chef-client 14 old cookbooks started winning and this causes lots of problems, especially for old incompatible resources. Chef client should always win here. Signed-off-by: Tim Smith <tsmith@chef.io>
* Add description, validation_message, and introduced fields into openssl ↵openssl_fixTim Smith2018-02-211-12/+33
| | | | | | | | | resources This follows the pattern used on docs.chef.io right now. We may change it later, but this will get us autogenerated docs for now. Signed-off-by: Tim Smith <tsmith@chef.io>
* Rename the OpenSSL mixin to avoid name conflictsTim Smith2018-01-221-2/+2
| | | | | | This way people don't have to refactor their code from OpenSSL::Whatever to ::OpenSSL::Whatever Signed-off-by: Tim Smith <tsmith@chef.io>
* Allow file to handle the OS specific valuesTim Smith2018-01-121-4/+6
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Add dhparam, rsa_private_key and rsa_public_key resourcesTim Smith2018-01-051-0/+57
Ported from the openssl cookbook. I've done all the major refactoring there to shake the bugs out. This is just reformatted to use the mixin instead of a cookbook helper and to be library style so it works in core chef. Signed-off-by: Tim Smith <tsmith@chef.io>