summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove knife user support for open source Chef Server < 12Tim Smith2018-10-318-344/+50
| | | | | | We shipped Chef 12 server on 2014-11-25. We've maintained backwards compatibility here by shipping double plugins, constantly checking for Chef 11 and then rewriting passed args. We deprecated it with Chef 14. This fully removes support. chef-client will continue to work on chef 11, but users cannot be managed with knife from a workstation running the latest version of Chef/ChefDK. Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 15.0.23 by Chef Expeditorv15.0.23Chef Expeditor2018-10-311-1/+1
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #7814 from ↵Tim Smith2018-10-311-6/+11
|\ | | | | | | | | MsysTechnologiesllc/nimesh/MSYS-915_InteractiveEnabledFixes Handle `interactive_enabled` property in windows_task resource
| * Handle `interactive_enabled` property in windows_task resourceNimesh2018-10-301-6/+11
| | | | | | | | Signed-off-by: Nimesh <nimesh.patni@msystechnologies.com>
* | Bump version to 15.0.22 by Chef Expeditorv15.0.22Chef Expeditor2018-10-311-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #7720 from ↵Tim Smith2018-10-311-4/+6
|\ \ | | | | | | | | | | | | MsysTechnologiesllc/dh/MSYS-889_chef_apply_crash_with_reboot Fix chef-apply crash for reboot
| * | fix chef-apply crash for rebootdheerajd-msys2018-10-041-4/+6
| | | | | | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* | | Bump version to 15.0.21 by Chef Expeditorv15.0.21Chef Expeditor2018-10-311-1/+1
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #7818 from chef/windows_resourcesTim Smith2018-10-312-2/+0
|\ \ \ | | | | | | | | Remove preview resource from windows_certificate & windows_share
| * | | Remove preview resource from windows_certificate & windows_shareTim Smith2018-10-302-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The initial PR was for the backport, but we don't want these to be previews in Chef 15 Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Bump version to 15.0.20 by Chef Expeditorv15.0.20Chef Expeditor2018-10-311-1/+1
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Bump version to 15.0.19 by Chef Expeditorv15.0.19Chef Expeditor2018-10-311-1/+1
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #7820 from chef/lcg/chef-15-cleanup-cookbook-loaderLamont Granquist2018-10-302-74/+105
|\ \ \ \ | | | | | | | | | | More cookbook loader cleanup and documentation
| * | | | more removal of cookbook shadowing/merginglcg/chef-15-cleanup-cookbook-loaderLamont Granquist2018-10-301-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we no longer support reading cookbooks from multiple cookbook paths. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | clean up some ivars and mark some methods privateLamont Granquist2018-10-301-41/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not all of this class should be considered public Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | | | More cookbook loader cleanup and documentationLamont Granquist2018-10-302-29/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes a bit more cruft left over from removing cookbook merging. Tries to document what the loader actually is and what it does. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | | | Bump version to 15.0.18 by Chef Expeditorv15.0.18Chef Expeditor2018-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | Bump version to 15.0.17 by Chef Expeditorv15.0.17Chef Expeditor2018-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | Bump version to 15.0.16 by Chef Expeditorv15.0.16Chef Expeditor2018-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | Merge pull request #7731 from chef/windows_resourcesTim Smith2018-10-303-0/+586
|\ \ \ \ \ | | |/ / / | |/| | | Add windows_certificate and windows_share resources
| * | | | Update the introduced field to be 14.7Tim Smith2018-10-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I missed the 14.6 window Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Auto mark windows_certificate as sensitive if a password is setTim Smith2018-10-302-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We're doing this same thing in the execute resource. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Description fixes from reviewTim Smith2018-10-292-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks @stuartpreston Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Add windows_certificate and windows_share resourcesTim Smith2018-10-293-0/+580
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Move two additional resources over from the windows cookbook. With these moved we're pretty close to fully deprecating the windows cookbook. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Bump version to 15.0.15 by Chef Expeditorv15.0.15Chef Expeditor2018-10-301-1/+1
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #7240 from chef/route_resourceTim Smith2018-10-302-15/+25
|\ \ \ \ | | | | | | | | | | Remove unused route resource properties
| * | | | Fix support for passing route type as a Stringroute_resourceTim Smith2018-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a test for this as well so we don't break it again later. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Remove unused route resource propertiesTim Smith2018-10-292-15/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were added, but never actually implemented. In the world of auto generated docs this really breaks things. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | Bump version to 15.0.14 by Chef Expeditorv15.0.14Chef Expeditor2018-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | Fix inspector to properly handle defaults that are symbolsinspect_symbolsTim Smith2018-10-291-1/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | We need to .inspect these so the default value is a symbol not the string version of the symbol. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Bump version to 15.0.13 by Chef Expeditorv15.0.13Chef Expeditor2018-10-291-1/+1
| |/ / |/| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | cookbook loader cleanupLamont Granquist2018-10-291-69/+42
|/ / | | | | | | | | | | | | | | this can be cleaned up by the removal of the multiple loaders per cookbook (since shadowing / merging is gone) and just because the logic was getting really weird. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 15.0.12 by Chef Expeditorv15.0.12Chef Expeditor2018-10-291-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.0.11 by Chef Expeditorv15.0.11Chef Expeditor2018-10-291-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.0.10 by Chef Expeditorv15.0.10Chef Expeditor2018-10-291-1/+1
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #7789 from chef/freebsdTim Smith2018-10-294-139/+2
|\ \ | | | | | | Remove deprecated support for FreeBSD pkg provider
| * | Remove deprecated support for FreeBSD pkg providerfreebsdTim Smith2018-10-284-139/+2
| | | | | | | | | | | | | | | | | | We continue to support pkgng which shipped in FreeBSD 10. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Merge pull request #7802 from chef/dmg_packageLamont Granquist2018-10-291-39/+51
|\ \ \ | | | | | | | | Multiple fixes to dmg_package
| * | | Fix accepting the EULA not workingdmg_packageTim Smith2018-10-281-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Turns out it was breaking due to the quiet flag. Sadly there was a PR to turn off this flag from 3 years ago in the old cookbook repo :( Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Better detect currently installed packagesTim Smith2018-10-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Pulls in https://github.com/chef-boneyard/dmg/pull/24 which avoids the current regex like method and instead requires an exact match. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | memoize passphrase_cmdTim Smith2018-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We access this multiple times in this resource Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Move dmg attached check out to a helper methodTim Smith2018-10-281-1/+7
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | header property: Don't default to nil or accept nilTim Smith2018-10-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This is a old legacy leftover from LWRP-land Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Move more functionality to helper methods and propertiesTim Smith2018-10-281-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More passphrase_cmd and software_license_agreement over to helper methods that we can potentially test later on. Improve the requires EULA error message Use a default value for volumes_dir that sets it to the value of the app property instead of creating a variable later. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Use full path to hdiutil and prevent finder opening the mounted dmg windowTim Smith2018-10-281-4/+4
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Don't rely on shelling out to grep to determine if EULA is necessaryTim Smith2018-10-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Do this natively in Ruby. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Remove declare_resource usageTim Smith2018-10-271-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | This isn't necessary since this is a custom resource Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Fix dmg_name to actually work the way it was meant toTim Smith2018-10-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | We created a variable with the same name as the property and this probably did the right thing in Chef 11, but what we really want is dmg_name to take on the app name by default. Now it does. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Remove logic that uniquely named the remote_file resourceTim Smith2018-10-271-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | This was probably added before use_inline_resources was a thing Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Set desired state on several propertiesTim Smith2018-10-271-5/+6
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>