summaryrefslogtreecommitdiff
path: root/lib/chef/resource
Commit message (Collapse)AuthorAgeFilesLines
...
| * More syncs from the docs siteresource_docs_cleanupTim Smith2018-08-314-16/+16
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update descriptions in more windows resourcesTim Smith2018-08-315-14/+8
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update windows_font descriptionsTim Smith2018-08-311-4/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Sync windows_printer descriptions with the docs siteTim Smith2018-08-311-9/+7
| | | | | | | | | | | | Docs team cleaned these up and I never trickled them back here. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add descriptions and introduced fields to windows_taskTim Smith2018-08-311-21/+26
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Fix typo in windows_task descriptionTim Smith2018-08-311-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add descriptions to gem_packageTim Smith2018-08-311-19/+17
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * More description fixesTim Smith2018-08-312-4/+5
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Fix the openssl_ec_private_key descriptionTim Smith2018-08-311-1/+1
| | | | | | | | | | | | I failed at English here. Signed-off-by: Tim Smith <tsmith@chef.io>
| * openssl_*: Update property descriptions and remove extra nil typesTim Smith2018-08-318-22/+22
| | | | | | | | | | | | | | | | 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>
| * Avoid declare resource where it's not neededdeclareTim Smith2018-08-311-2/+2
| | | | | | | | | | | | This is a custom resource. Removing this just increases readability for anyone used to writing resources in cookbooks. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add additional property descriptions using those on the docs siteTim Smith2018-08-295-109/+305
| | | | | | | | | | | | Slowly backporting stuff from the docs site into Chef so we can auto-generate our docs Signed-off-by: Tim Smith <tsmith@chef.io>
| * Cleanup existing property descriptions to match the docsTim Smith2018-08-299-29/+29
| | | | | | | | | | | | We fixed up some wording on the docs site. This backports those fixes Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add missing space to sysctl descriptionTim Smith2018-08-281-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Be more explicit in disabling provides for openssl_x509Tim Smith2018-08-271-1/+1
| | | | | | | | | | | | | | Make it clear that we want this to be "true" with Chef 15, but right now the cookbook needs to win for backwards compatibility reasons. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add author / copyrights to the new openssl resourcesTim Smith2018-08-274-4/+7
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Make sure the cookbook properly wins with openssl_x509Tim Smith2018-08-271-1/+1
| | | | | | | | | | | | The comment was right but the code was wrong Signed-off-by: Tim Smith <tsmith@chef.io>
| * Properly describe what a CRL isTim Smith2018-08-271-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Update descriptions for the EC curve resourcesTim Smith2018-08-272-2/+4
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Merge pull request #7588 from chef/crond_errorLamont Granquist2018-08-271-1/+1
| |\ | | | | | | Resolve new_resource error with cron_d resource
| | * Resolve new_resource error with cron_d resourcecrond_errorTim Smith2018-08-241-1/+1
| | | | | | | | | | | | | | | | | | new_resource.cookbook needed to be cookbook inside after_created Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Merge pull request #7589 from chef/random_delayLamont Granquist2018-08-271-7/+12
| |\ \ | | | | | | | | cron_d: Add random_delay and cleanup properties
| | * | More description updatesrandom_delayTim Smith2018-08-241-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| | * | Add missing commaTim Smith2018-08-241-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| | * | Lazily eval the empty hash default and remove nil typesTim Smith2018-08-241-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | We don't need to specify nil anymore since it's the default now. Signed-off-by: Tim Smith <tsmith@chef.io>
| | * | Add random_delay property to cron_dTim Smith2018-08-241-0/+4
| | |/ | | | | | | | | | | | | | | | This was released in cron cookbook 6.1. The template already supported it, but the property was missing. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add missing description to windows_feature_powershellempty_descriptionsTim Smith2018-08-241-3/+2
| |/ | | | | | | | | | | This was left empty by mistake. Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add openssl_x509_crl resourceTim Smith2018-08-241-0/+130
| | | | | | | | | | | | This is another great resource added to the openssl cookbook by @juju482 at Institut National de l'Audiovisuel Signed-off-by: Tim Smith <tsmith@chef.io>
| * Remove mode defaults from x509_certificate / x509_requestTim Smith2018-08-242-8/+7
| | | | | | | | | | | | Just let the file resource handle this unless the user passes something. This will prevent warnings on Windows hosts. Signed-off-by: Tim Smith <tsmith@chef.io>
| * add a commentLamont Granquist2018-08-221-0/+2
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * lazy the default resource_name until after parsingLamont Granquist2018-08-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | only set it if the resource doesn't set one. this means that we don't call resource_name or provides before parsing the file so that the chef_version_for_provides API in #7524 can work (otherwise we throw the deprecation warning before we ever parse the file). Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * Merge pull request #7560 from dbresson/feature/repeated-options-systemd-unitTim Smith2018-08-201-1/+3
| |\ | | | | | | support repeated options in systemd_unit
| | * support repeated options in systemd_unitDavid Bresson2018-08-171-1/+3
| | | | | | | | | | | | Signed-off-by: David Bresson <dabresson@gmail.com>
| * | Merge pull request #7483 from ↵Tim Smith2018-08-201-0/+6
| |\ \ | | | | | | | | | | | | | | | | MsysTechnologiesllc/dh/MSYS-854_support_task_on_battery Support for battery power options in windows_task resource
| | * | added functional testdheerajd-msys2018-07-261-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
| | * | fix reviews commentdheerajd-msys2018-07-261-2/+6
| | | | | | | | | | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
| | * | [MSYS-854]support for task on batterydheerajd-msys2018-07-261-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
| * | | Merge pull request #7545 from chef/release_notesTim Smith2018-08-201-2/+2
| |\ \ \ | | |_|/ | |/| | Start work on the 14.4 release notes
| | * | Start work on the 14.4 release notesTim Smith2018-08-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Document the new resources and the improvements to existing resources. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Add specs for the x509_cert and x509_request resourcesopenssl_new_stuffTim Smith2018-08-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fix the defaults that should be lazied and fix the duplicate class name I was using. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Add description fields to the openssl resourcesTim Smith2018-08-156-43/+102
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Set the new resources as preview resources and remove nil user/groupTim Smith2018-08-154-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | No need for allowing nil here. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Add the helper methods to the libraryTim Smith2018-08-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Also use ::OpenSSL in a few other places. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Add new openssl_* resourcesTim Smith2018-08-144-0/+472
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | openssl_ec_private_key openssl_ec_public_key openssl_x509_certificate openssl_x509_request Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Remove declare_resource usageTim Smith2018-08-143-3/+3
| |/ / | | | | | | | | | | | | | | | We don't need this with custom resources Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add descriptions and fix chefstyle warningsTim Smith2018-08-131-11/+19
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add yard commentsTim Smith2018-08-131-0/+12
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Self the callback methodsTim Smith2018-08-131-48/+48
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add descriptions and update the Chef version to ship inTim Smith2018-08-132-4/+4
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add cron_d and cron_access resources from the cron cookbookTim Smith2018-08-134-0/+315
| | | | | | | | | | | | | | | | | | Cron_d was the #1 requested resource that we already had written. Everyone uses it and we should ship it. It's not a replacement for the existing cron cookbook, but just a different way of managing cron. If people want to manage the whole file or individual snippets we'll give them the option, just as we've always done by having the core resource and this resource. Signed-off-by: Tim Smith <tsmith@chef.io>