summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 16.0.245 by Chef Expeditorv16.0.245Chef Expeditor2020-04-251-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9648 from ↵Tim Smith2020-04-251-15/+40
|\ | | | | | | | | chef/Kapil/GitHub-9450_Update_the_locale_resource_to_support_Windows locale: Support setting locale on Windows
| * Update the locale resource to support WindowsKapil/GitHub-9450_Update_the_locale_resource_to_support_WindowsKapil Chouhan2020-04-221-15/+40
| | | | | | | | Signed-off-by: Kapil Chouhan <kapil.chouhan@msystechnologies.com>
* | Bump version to 16.0.244 by Chef Expeditorv16.0.244Chef Expeditor2020-04-251-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 16.0.243 by Chef Expeditorv16.0.243Chef Expeditor2020-04-251-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Allow Arrays in msu_package version againTim Smith2020-04-251-1/+6
| | | | | | | | | | | | This is a bug, but we're going to need to live with it for now. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.0.242 by Chef Expeditorv16.0.242Chef Expeditor2020-04-251-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Add back shell_out with the actual 900s defaultTim Smith2020-04-241-0/+5
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Remove the pointless helper methodTim Smith2020-04-241-6/+2
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Move the windows only timeout property from service to windows_serviceTim Smith2020-04-243-8/+6
| | | | | | | | | | | | Also give it a real default. This improves our automatic documentation generation. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.0.241 by Chef Expeditorv16.0.241Chef Expeditor2020-04-241-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 16.0.240 by Chef Expeditorv16.0.240Chef Expeditor2020-04-241-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9726 from chef/lcg/chef-16-gitTim Smith2020-04-238-105/+161
|\ \ | | | | | | Refactor scm, git and subversion resources & fix longstanding git issues
| * | update descriptionslcg/chef-16-gitLamont Granquist2020-04-233-5/+7
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | Chef-16 git provider fixesLamont Granquist2020-04-238-103/+157
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The git provider now no longer checks out to a "deploy" branch by default and now checks out to the branch (with a remote upstream) or else checks out to a detatched head. The prior behavior can be restored by using "checkout branch 'deploy'". This also removes the SCM resource base class and replaces it with a resource partial and does some internal reorganization. It also introduces the RecipeDSLHelper for better functional tests and cleans up the functional tests of the git provider. Properties that were only ever implemented on the git provider were removed from the subversion provider where they had been inherited from the base class incorrectly. Some additional env var handling was added to the subversion handler in the process of sorting out the common properties, including HOME handling for alternative users. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 16.0.239 by Chef Expeditorv16.0.239Chef Expeditor2020-04-231-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | More docs improvementsTim Smith2020-04-231-1/+3
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Minor improvements to the resource descriptionsTim Smith2020-04-234-3/+5
| | | | | | | | | | | | Update things so we spit out better docs. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 16.0.238 by Chef Expeditorv16.0.238Chef Expeditor2020-04-231-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9721 from chef/packageTim Smith2020-04-2314-1/+98
|\ \ | | | | | | Make sure all the non-multipackage packge resources can't take arrays
| * | Make sure all the non-multipackage packge resources can't take arrayspackageTim Smith2020-04-2214-1/+98
| | | | | | | | | | | | | | | | | | Right now these resources inherit package_name, versions, and options from the package resource which allows arrays. The problem is the actual providers for these package resources don't know what to do with arrays and they explode. They explode in ways that are really unfriendly to users. With this change they'll get a nice input validation error and they'll have a lot more of an idea of how to go about resolving the problem. This also means that our automatically generated documentation for the package resources will be correct since right now it documents everything as accepting an array. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 16.0.237 by Chef Expeditorv16.0.237Chef Expeditor2020-04-231-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #9509 from ↵Tim Smith2020-04-232-2/+92
|\ \ \ | | | | | | | | | | | | | | | | chef/Kapil/Github-9413_Chocolate_resource_options_causing_extra_quotes Fix for Chocolate_resource options causing extra quotes
| * | | Fix for Chocolate_resource options causing extra quotesKapil/Github-9413_Chocolate_resource_options_causing_extra_quotesKapil Chouhan2020-04-232-2/+92
| | |/ | |/| | | | | | | Signed-off-by: Kapil Chouhan <kapil.chouhan@msystechnologies.com>
* | | Bump version to 16.0.236 by Chef Expeditorv16.0.236Chef Expeditor2020-04-231-1/+1
| |/ |/| | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 16.0.235 by Chef Expeditorv16.0.235Chef Expeditor2020-04-221-1/+1
|/ | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.0.234 by Chef Expeditorv16.0.234Chef Expeditor2020-04-211-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.0.233 by Chef Expeditorv16.0.233Chef Expeditor2020-04-211-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.0.232 by Chef Expeditorv16.0.232Chef Expeditor2020-04-211-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.0.231 by Chef Expeditorv16.0.231Chef Expeditor2020-04-211-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.0.230 by Chef Expeditorv16.0.230Chef Expeditor2020-04-201-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 16.0.229 by Chef Expeditorv16.0.229Chef Expeditor2020-04-201-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #9663 from damacus/remove/chef-10-metadata-paramTim Smith2020-04-201-21/+20
|\ | | | | Remove deprecated Chef-10 constraint handling
| * Stop handling the deprecated Chef version constraintsDan Webb2020-04-201-21/+20
| | | | | | | | | | | | | | | | | | handle_deprecated_constraints has been a work around since Chef 10 Remove old specs that checked that the metadata was transformed correctly Signed-off-by: Daniel Webb <dan.webb@damacus.io>
* | Bump version to 16.0.228 by Chef Expeditorv16.0.228Chef Expeditor2020-04-201-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Chefstyle fixTim Smith2020-04-201-0/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Update lib/chef/provider/package/pacman.rb Tim Smith2020-04-201-1/+1
| | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io> Co-Authored-By: pete higgins <pete@peterhiggins.org>
* | using allow_nilsIngo Becker2020-04-201-0/+1
| | | | | | | | Signed-off-by: Ingo Becker <ingo@orgizm.net>
* | added multipackage support for pacman resourceIngo Becker2020-04-201-34/+23
| | | | | | | | Signed-off-by: Ingo Becker <ingo@orgizm.net>
* | Bump version to 16.0.227 by Chef Expeditorv16.0.227Chef Expeditor2020-04-201-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #9627 from ↵Tim Smith2020-04-201-12/+29
|\ \ | | | | | | | | | | | | chef/Kapil/GitHub-2860_exception_raised_in_define_resource_requirements git resource: Fix for exceptions raised in why-run mode
| * | Fix for exception raised in define resource requirementsKapil/GitHub-2860_exception_raised_in_define_resource_requirementsKapil Chouhan2020-04-171-12/+29
| | | | | | | | | | | | Signed-off-by: Kapil Chouhan <kapil.chouhan@msystechnologies.com>
* | | Bump version to 16.0.226 by Chef Expeditorv16.0.226Chef Expeditor2020-04-181-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Bump version to 16.0.225 by Chef Expeditorv16.0.225Chef Expeditor2020-04-181-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Bump version to 16.0.224 by Chef Expeditorv16.0.224Chef Expeditor2020-04-181-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Bump version to 16.0.223 by Chef Expeditorv16.0.223Chef Expeditor2020-04-181-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Bump version to 16.0.222 by Chef Expeditorv16.0.222Chef Expeditor2020-04-181-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Bump version to 16.0.221 by Chef Expeditorv16.0.221Chef Expeditor2020-04-181-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #7982 from chef/multi_packageTim Smith2020-04-172-43/+107
|\ \ \ | | | | | | | | Add multipackage support to homebrew
| * | | Use lamont's magic error handlingTim Smith2020-04-171-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tiny tweak to grab the first item so we actually get the hash back in the error handling. Given: ```ruby package %w{curl totally_junk_pkg} do action :upgrade end ``` ``` * No candidate version available for totally_junk_pkg ================================================================================ Error executing action `upgrade` on resource 'homebrew_package[curl, totally_junk_pkg]' ================================================================================ Chef::Exceptions::Package ------------------------- No candidate version available for totally_junk_pkg ``` Signed-off-by: Tim Smith <tsmith@chef.io>