summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Chef 15 node attribute array fixeslcg/chef-15-attribute-array-fixesLamont Granquist2018-10-315-50/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | Doing something like: ``` node.default["foo"] = [] node.default["foo"] << { "bar" => "baz } ``` Would result in a Hash instead of a VividMash inserted into the AttrArray, so that: ``` node.default["foo"][0]["bar"] # gives the correct result node.default["foo"][0][:bar] # does not work due to the sub-Hash not # converting keys ``` This fixes that behavior, but is likely a breaking change to someone who expects to ingest hashes with symbol keys and get back out symbol keys, they will now get converted to strings. This breaking change is fully 100% intentional. This makes the node attribute structure more consistent and predictable. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 15.0.22 by Chef Expeditorv15.0.22Chef Expeditor2018-10-315-11/+12
| | | | 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-315-11/+12
| | | | | | | | 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-315-11/+12
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #7823 from chef/win32_cert_bumpTim Smith2018-10-301-1/+1
|\ \ \ | | | | | | | | Bump win32-certstore to 0.1.11
| * | | Bump win32-certstore to 0.1.11Tim Smith2018-10-301-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Bump version to 15.0.19 by Chef Expeditorv15.0.19Chef Expeditor2018-10-315-11/+12
| | | | | | | | | | | | | | | | 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-304-77/+110
|\ \ \ \ | |/ / / |/| | | More cookbook loader cleanup and documentation
| * | | more removal of cookbook shadowing/merginglcg/chef-15-cleanup-cookbook-loaderLamont Granquist2018-10-302-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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-303-30/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-315-11/+12
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #7819 from chef/sles15_symlinksTim Smith2018-10-304-10/+35
|\ \ \ \ | | | | | | | | | | Fix testing / installing on SLES 15
| * | | | Remove bashisms so these scripts work on legacy platformsTim Smith2018-10-303-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I look forward to a world where we can assume modern shells. Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | | Fix testing / installing on SLES 15sles15_symlinksTim Smith2018-10-304-10/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure we identify SLES 15 as suse for our zypper tests Make sure we don't remove the symlinks on SLES when doing an upgrade or the new release will be broken Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | | Bump version to 15.0.17 by Chef Expeditorv15.0.17Chef Expeditor2018-10-315-11/+12
| | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | Merge pull request #7822 from chef/fix_win32_certstore_licenseTim Smith2018-10-302-8/+8
|\ \ \ \ \ | |/ / / / |/| | | | Update win32-certstore to include a license
| * | | | Update win32-certstore to include a licensefix_win32_certstore_licenseTim Smith2018-10-302-8/+8
|/ / / / | | | | | | | | | | | | | | | | | | | | The previous release did not ship a license file and was failing license validation in Jenkins. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Bump version to 15.0.16 by Chef Expeditorv15.0.16Chef Expeditor2018-10-305-11/+12
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #7731 from chef/windows_resourcesTim Smith2018-10-307-0/+676
|\ \ \ \ | | |/ / | |/| | 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-303-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | 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-297-0/+665
| | | | | | | | | | | | | | | | | | | | | | | | 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-305-11/+12
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #7240 from chef/route_resourceTim Smith2018-10-303-17/+32
|\ \ \ \ | | | | | | | | | | Remove unused route resource properties
| * | | | Fix support for passing route type as a Stringroute_resourceTim Smith2018-10-292-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-305-13/+14
| | | | | | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | | Merge pull request #7813 from chef/inspect_symbolsLamont Granquist2018-10-301-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | | Fix inspector to properly handle defaults that are symbols
| * | | | 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-295-11/+12
| | | | | | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | | Merge pull request #7794 from chef/lcg/chef-15-cleanup-cookbook-loaderTim Smith2018-10-292-70/+42
|\ \ \ \ | |/ / / |/| / / | |/ / Refactor Cookbook loader logic now that we don't support merging
| * | cookbook loader cleanupLamont Granquist2018-10-292-70/+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-295-11/+12
| | | | | | | | 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-295-11/+12
| | | | | | | | 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-295-11/+12
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #7789 from chef/freebsdTim Smith2018-10-298-455/+5
|\ \ | | | | | | Remove deprecated support for FreeBSD pkg provider
| * | Remove deprecated support for FreeBSD pkg providerfreebsdTim Smith2018-10-288-455/+5
| | | | | | | | | | | | | | | | | | 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>