summaryrefslogtreecommitdiff
path: root/lib/chef/resource
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate ohai resource's ohai_name propertydeprecateTim Smith2018-09-201-2/+6
| | | | | | This isn't actually used anywhere in the resource and there's no point. It reload's plugins based on the plugin property. We should kill this thing off and reduce the complexity a tiny bit. Signed-off-by: Tim Smith <tsmith@chef.io>
* Wire up openssl_x509Tim Smith2018-09-181-1/+1
| | | | | | | | | I originally left this uncommented, but this actually broke backwards compatibility more than the potential for Chef winning over the cookbook. I think we have to just bite the bullet here and let Chef win in the name of backwards compatibility with the name. Signed-off-by: Tim Smith <tsmith@chef.io>
* Update description to match docs updateTim Smith2018-09-171-1/+1
| | | | | | *nix doesn't work well on the docs site. Signed-off-by: Tim Smith <tsmith@chef.io>
* Add Chef 14.5 release notesTim Smith2018-09-171-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #7648 from chef/scmTim Smith2018-09-152-14/+49
|\ | | | | Move subversion properties out of scm and into subversion
| * Move subversion properties out of scm and into subversionscmTim Smith2018-09-142-14/+49
| | | | | | | | | | | | This way we're not polluting the git resource with the subversion properties. Cleans up our docs generation a bit. I added some property descriptions while I was in there. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Resource description updates for homebrew_cask, homebrew_tap, and hostnameresource_doc_fixesTim Smith2018-09-143-9/+9
| | | | | | | | | | | | More syncs from the docs site. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Update wording in the locale resourceTim Smith2018-09-141-2/+3
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Fix resource descriptions for ohai_hint and rhsm_errata_levelTim Smith2018-09-142-6/+4
| | | | | | Update these to match copy fixes we made on the docs site. Signed-off-by: Tim Smith <tsmith@chef.io>
* Rename windows_ad_join's newname to be new_hostnameTim Smith2018-09-141-2/+3
| | | | | | | | | newname matches powershell, but isn't entirely apparent to non-PowerShell users. We should give it a name that requires no knowledge outside of Chef. This also adds the introduced field, which we use to generate docs. Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge branch 'master' into feature/windows_ad_joinStuart Preston2018-09-1434-182/+327
|\
| * Merge pull request #7637 from derekgroh/feature/windows_ad_join_newnameStuart Preston2018-09-141-0/+4
| |\ | | | | | | windows_ad_join resource - add newname property
| | * use ruby naming; newname to new_nameDerek Groh2018-09-131-2/+2
| | | | | | | | | | | | Signed-off-by: Derek Groh <derekgroh@github.io>
| | * add newname propertyDerek Groh2018-09-121-0/+4
| | | | | | | | | | | | Signed-off-by: Derek Groh <derekgroh@github.io>
| * | add locale resource to chefVincent AUBERT2018-09-111-0/+92
| | | | | | | | | | | | Signed-off-by: Vincent AUBERT <vincentaubert88@gmail.com>
| * | Merge pull request #7625 from chef/paludis_packageTim Smith2018-09-101-1/+3
| |\ \ | | | | | | | | paludis_package: Make sure timeout property is an Integer
| | * | paludis_package: Make sure timeout property is an Integerpaludis_packageTim Smith2018-09-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | This is meant to be an integer, but we didn't specify. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Properly capitalize PowerShell in descriptions and errorspowershellTim Smith2018-09-073-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | It's PowerShell not Powershell. Our docs site had already been updated. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Fix a description to match the docs siteTim Smith2018-09-061-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Add introduced versions for properties and more descriptionsTim Smith2018-09-069-27/+40
| | | | | | | | | | | | | | | | | | | | | | | | Getting the auto generated docs ready 1 fix at a time. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Remove unnecessary declare_resource usage in build_essentialTim Smith2018-09-061-37/+37
| |/ / | | | | | | | | | | | | | | | This is a custom resource so we don't need this. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add additional resource descriptionsTim Smith2018-09-0622-114/+148
| |/ | | | | | | | | | | Filling in more of the missing resource descriptions using the descriptions straight from the docs site. Signed-off-by: Tim Smith <tsmith@chef.io>
* | syntax and logic fixesDerek Groh2018-09-131-2/+3
| | | | | | | | Signed-off-by: Derek Groh <derekgroh@github.io>
* | update chef version introducedDerek Groh2018-09-101-1/+1
| | | | | | | | Signed-off-by: Derek Groh <derekgroh@github.io>
* | Merge branch 'master' of https://github.com/chef/chef into ↵Derek Groh2018-09-0449-273/+1573
|\ \ | |/ | | | | feature/windows_ad_join
| * 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>