summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Bump minor version to 12.18bump-minor-12-8Scott Christopherson2016-12-141-1/+1
| | | | Signed-off-by: Scott Christopherson <scott@chef.io>
* Bump version of chef to 12.17.58 by Chef Versioner.v12.17.58Chef Versioner2016-12-131-1/+1
|
* Bump version of chef to 12.17.57 by Chef Versioner.v12.17.57Chef Versioner2016-12-131-1/+1
|
* Bump version of chef to 12.17.56 by Chef Versioner.v12.17.56Chef Versioner2016-12-131-1/+1
|
* Merge pull request #5636 from chef/lcg/remove-chef-platform-handler-classBryan McLellan2016-12-134-46/+22
|\ | | | | remove Chef::Platform::HandlerMap
| * remove Chef::Platform::HandlerMaplcg/remove-chef-platform-handler-classLamont Granquist2016-12-084-46/+22
| | | | | | | | | | | | seems like an entirely unnecessary level of indirection Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 12.17.55 by Chef Versioner.v12.17.55Chef Versioner2016-12-121-1/+1
| |
* | Make docker? return booleanAndrew Brown2016-12-121-2/+2
| | | | | | | | | | | | Trivial change to ensure node.docker? returns either true or false. Signed-off-by: Andrew Brown <andrew.j.brown@gmail.com>
* | Bump version of chef to 12.17.54 by Chef Versioner.v12.17.54Chef Versioner2016-12-121-1/+1
| |
* | Bump version of chef to 12.17.53 by Chef Versioner.v12.17.53Chef Versioner2016-12-121-1/+1
| |
* | Use object ID when detected unprocessed Resources (#5604)Adam Leff2016-12-121-9/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use object ID when detected unprocessed Resources In the Data Collector, when detecting unprocessed resources, a Set was built up using the resource object itself as the Set element. Internally, Set adds this to a Hash. We allow users to create custom resources that could contain a property named "hash" which in turn wires up a `#hash` instance method on the Resource. Ruby expects object's `#hash` method to return a Fixnum that it uses internally. So if a resource had a "hash" property that returned a String, bad things happened. With this change, we make our own Hash and use the resource's object ID in the key so we don't have to worry about the resource's `#hash` method getting called and throwing an exception. I will send up a separate change that warns users when they choose a property name that is already an existing method name. Fixes #5565. Signed-off-by: Adam Leff <adam@leff.co>
* | Bump version of chef to 12.17.52 by Chef Versioner.v12.17.52Chef Versioner2016-12-091-1/+1
| |
* | Bump version of chef to 12.17.51 by Chef Versioner.v12.17.51Chef Versioner2016-12-091-1/+1
| |
* | Merge pull request #5631 from chef/lcg/deprecate-chef-platform-methodsLamont Granquist2016-12-092-0/+15
|\ \ | | | | | | Properly deprecate old Chef::Platform methods
| * | Properly deprecate old Chef::Platform methodsLamont Granquist2016-12-072-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | These should have been deprecated formally in 12.5.1 after the Dynamic Provider-Resolver'ing of the internal chef resources was completed. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version of chef to 12.17.50 by Chef Versioner.v12.17.50Chef Versioner2016-12-091-1/+1
| | |
* | | Bump version of chef to 12.17.49 by Chef Versioner.v12.17.49Chef Versioner2016-12-091-1/+1
| | |
* | | Bump version of chef to 12.17.48 by Chef Versioner.v12.17.48Chef Versioner2016-12-081-1/+1
| | |
* | | fix provider_resolver comment to remove FIXMELamont Granquist2016-12-081-2/+4
| |/ |/| | | | | | | | | | | no, we should not do this only in why-run mode, add more yapping to make that clear. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 12.17.47 by Chef Versioner.v12.17.47Chef Versioner2016-12-071-1/+1
| |
* | Bump version of chef to 12.17.46 by Chef Versioner.v12.17.46Chef Versioner2016-12-071-1/+1
| |
* | Bump version of chef to 12.17.45 by Chef Versioner.v12.17.45Chef Versioner2016-12-071-1/+1
| |
* | Merge pull request #5548 from chef/lcg/chefstyle-updatesThom May2016-12-0744-89/+102
|\ \ | | | | | | Chefstyle updates
| * | seems this exception type is necessary as welllcg/chefstyle-updatesLamont Granquist2016-12-061-1/+1
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | added disable to the wrong lineLamont Granquist2016-12-061-1/+1
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | helpful spec tests discovered could not change this superclassLamont Granquist2016-12-061-2/+2
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fix Style/NonNilCheckLamont Granquist2016-12-069-12/+12
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fix Style/NilComparisonLamont Granquist2016-12-069-13/+13
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fix Style/VariableInterpolationLamont Granquist2016-12-065-12/+12
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fix Style/DefWithParenthesesLamont Granquist2016-12-067-11/+11
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fix Style/SpaceInsideStringInterpolationLamont Granquist2016-12-063-6/+6
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fix Style/SelfAssignmentLamont Granquist2016-12-066-6/+6
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fix Style/MultilineIfModifierLamont Granquist2016-12-066-23/+36
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fix Lint/InheritExceptionLamont Granquist2016-12-061-5/+5
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * | fix Performance/SortWithBlock copLamont Granquist2016-12-061-1/+1
| | | | | | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Bump version of chef to 12.17.44 by Chef Versioner.v12.17.44Chef Versioner2016-12-071-1/+1
| | |
* | | Merge pull request #5622 from chef/chef-ad/3888Thom May2016-12-071-2/+2
|\ \ \ | | | | | | | | Knife: cookbook site share doesn't work with some json metadata
| * | | Fixing metadata.json validation, adding spec test to ensure we're actually ↵ad/3888andy-dufour2016-09-211-2/+2
| | | | | | | | | | | | | | | | validating the JSON passed to us
* | | | Bump version of chef to 12.17.43 by Chef Versioner.v12.17.43Chef Versioner2016-12-061-1/+1
| | | |
* | | | Merge pull request #5601 from chef/COOL-604/chef-solo-node-permissionsBryan McLellan2016-12-062-1/+31
|\ \ \ \ | |_|_|/ |/| | | Core: Ensure chef-solo creates node files w/ correct permissions
| * | | Ensure chef-solo creates node files w/ correct permissionsCOOL-604/chef-solo-node-permissionsScott Christopherson2016-12-062-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit ensures that the `nodes` dir and the node files within it are created with the correct permissions by chef-solo. Signed-off-by: Scott Christopherson <scott@chef.io>
* | | | Bump version of chef to 12.17.42 by Chef Versioner.v12.17.42Chef Versioner2016-12-061-1/+1
| | | |
* | | | Ensures correct version of shutdown is called when using the reboot resource ↵Christoph2016-12-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on Windows (#5596) Use a fixed path to shutdown.exe on windows in Chef::Platform::Rebooter, fixes #5594 Signed-off-by: Christoph Griesshammer <cgriesshammer@gmail.com>
* | | | Bump version of chef to 12.17.41 by Chef Versioner.v12.17.41Chef Versioner2016-12-061-1/+1
| | | |
* | | | Bump version of chef to 12.17.40 by Chef Versioner.v12.17.40Chef Versioner2016-12-061-1/+1
| | | |
* | | | Merge pull request #5613 from spuder/patch-1Bryan McLellan2016-12-061-2/+2
|\ \ \ \ | |_|_|/ |/| | | change choco -version to choco --version
| * | | Fixes #5256Spencer Owen2016-12-051-2/+2
| |/ / | | | | | | | | | | | | | | | | | | Chocolatey packages with version will give error changes chocolatey tests to use --version instead of -version Signed-off-by: Spencer Owen <owenspencer@gmail.com>
* | | Merge pull request #5615 from chef/tas50/typoTim Smith2016-12-061-2/+2
|\ \ \ | | | | | | | | The suggested fix for the manage_home deprecation is incorrect
| * | | The suggested fix for the manage_home deprecation is incorrectTim Smith2016-12-061-2/+2
| |/ / | | | | | | | | | | | | | | | manage_home: true is not a proper resource property. It should be manage_home true instead. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Merge pull request #5618 from chef/tm/require_deprecatedThom May2016-12-061-0/+1
|\ \ \ | | | | | | | | Core: Ensure deprecation messages are always included