summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* lazily load cookbook_files and templatestm/even_lazierThom May2017-04-253-8/+29
| | | | | | Fixes: #6051 Signed-off-by: Thom May <thom@chef.io>
* Bump version of chef to 13.1.5 by Chef Versioner.v13.1.5Chef Versioner2017-04-221-1/+1
|
* Bump version of chef to 13.1.4 by Chef Versioner.v13.1.4Chef Versioner2017-04-211-1/+1
|
* fixing small typoBernado Vale2017-04-211-1/+1
|
* Bump version of chef to 13.1.3 by Chef Versioner.v13.1.3Chef Versioner2017-04-211-1/+1
|
* Bump version back to 13.1Thom May2017-04-211-1/+1
| | | | Signed-off-by: Thom May <thom@chef.io>
* Bump version of chef to 13.0.123 by Chef Versioner.v13.0.123Chef Versioner2017-04-201-1/+1
|
* Merge pull request #6077 from chef/lcg/runner-pointerLamont Granquist2017-04-202-1/+9
|\ | | | | add a pointer from the run_context back to the runner
| * add a pointer from the run_context back to the runnerlcg/runner-pointerLamont Granquist2017-04-202-1/+9
| | | | | | | | | | | | because surfing through Objectspace makes kittens cry Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 13.0.122 by Chef Versioner.v13.0.122Chef Versioner2017-04-201-1/+1
|/
* Bump version of chef to 13.0.121 by Chef Versioner.v13.0.121Chef Versioner2017-04-191-1/+1
|
* A whole bunch more missing helper requires.Noah Kantrowitz2017-04-186-0/+6
| | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* key show commands also didn’t require needed helper object.Noah Kantrowitz2017-04-182-0/+2
| | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* The two key list commands didn’t actually require the helper object they ↵Noah Kantrowitz2017-04-182-0/+2
| | | | | both use. Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* Bump version of chef to 13.0.120 by Chef Versioner.v13.0.120Chef Versioner2017-04-141-1/+1
|
* Add usage banner for knife client key createdanielsdeleo2017-04-141-0/+2
| | | | Signed-off-by: Daniel DeLeo <dan@chef.io>
* Bump version of chef to 13.0.119 by Chef Versioner.v13.0.119Chef Versioner2017-04-121-1/+1
|
* Bump version of chef to 13.0.118 by Chef Versioner.v13.0.118Chef Versioner2017-04-121-1/+1
|
* Bump version of chef to 13.0.117 by Chef Versioner.v13.0.117Chef Versioner2017-04-121-1/+1
|
* Bump version of chef to 13.0.116 by Chef Versioner.v13.0.116Chef Versioner2017-04-111-1/+1
|
* Merge pull request #6045 from coderanger/segment-oopsThom May2017-04-111-3/+8
|\ | | | | Fix for Chef 13 upload reversion.
| * ensure all required fields are preserved in ManifestV0Thom May2017-04-111-1/+2
| | | | | | | | Signed-off-by: Thom May <thom@chef.io>
| * Fix https://github.com/chef/chef/issues/6044 by ensuring all segments exist ↵Noah Kantrowitz2017-04-101-0/+5
| | | | | | | | | | | | in the manifest. Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
| * Use each_with_object rather than inject because it’s 1% less footgun.Noah Kantrowitz2017-04-101-2/+1
| | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | Bump version of chef to 13.0.115 by Chef Versioner.v13.0.115Chef Versioner2017-04-111-1/+1
| |
* | Merge pull request #6047 from coderanger/yum-optionsThom May2017-04-112-2/+6
|\ \ | | | | | | Fix some fallout from the options converstion to an array
| * | Feed the rubocop.Noah Kantrowitz2017-04-101-1/+5
| | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
| * | Fix expand_options to cope with arrays too.Noah Kantrowitz2017-04-101-1/+1
| | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
| * | We missed this when options got converted to an array.Noah Kantrowitz2017-04-101-1/+1
| |/ | | | | | | | | | | Use the actual resource code paths to make it less unit-y but more accurate for the future. Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* | push version back to 13.0Thom May2017-04-111-1/+1
|/ | | | Signed-off-by: Thom May <thom@chef.io>
* Bump version of chef to 13.1.2 by Chef Versioner.v13.1.2Chef Versioner2017-04-101-1/+1
|
* Merge pull request #6042 from chef/dan/tame-required-recipe-messagingDan DeLeo2017-04-101-1/+2
|\ | | | | Clarify log messaging for required recipe feature
| * Clarify log messaging for required recipe featuredanielsdeleo2017-04-101-1/+2
| | | | | | | | | | | | | | The previous log message didn't have enough context and could sound "scary" to users unfamiliar with the feature. Signed-off-by: Daniel DeLeo <dan@chef.io>
* | Bump version of chef to 13.1.1 by Chef Versioner.v13.1.1Chef Versioner2017-04-101-1/+1
|/
* Bump version of chef to 13.0.113 by Chef Versioner.v13.0.113Chef Versioner2017-04-061-1/+1
|
* Bump version of chef to 13.0.112 by Chef Versioner.v13.0.112Chef Versioner2017-04-061-1/+1
|
* Merge pull request #6035 from chef/lcg/restore-log-locationThom May2017-04-062-1/+31
|\ | | | | Chef-13: restore log_location in client.rb
| * Chef-13: restore log_location in client.rbLamont Granquist2017-04-062-1/+31
| | | | | | | | | | | | | | | | | | | | This was probably a bit too aggressive. There are people who pass logger objects in client.rb directly into the log_location, and we'd break them, and there's no general solution. We have a couple of the popular configs that can be passed in as symbols, but not the general case. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 13.0.111 by Chef Versioner.v13.0.111Chef Versioner2017-04-061-1/+1
| |
* | Merge pull request #6032 from chef/sd/required-recipeThom May2017-04-061-0/+44
|\ \ | | | | | | server enforced required recipe
| * | chefstyle fixessdelano2017-04-061-27/+24
| | | | | | | | | | | | Signed-off-by: Stephen Delano <stephen@chef.io>
| * | server enforced required recipesdelano2017-04-061-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when the chef-server is configured to serve a requried recipe, chef-client shall load the recipe into the run context and execute it as part of the converge phase. if the chef-server is NOT configured, it will return a 404 and chef-client will continue normally. Signed-off-by: Stephen Delano <stephen@chef.io>
* | | Bump version of chef to 13.0.110 by Chef Versioner.v13.0.110Chef Versioner2017-04-061-1/+1
| |/ |/|
* | switch guards to use shell_out_with_systems_localeLamont Granquist2017-04-061-2/+4
| | | | | | | | | | | | matches the execute resource usage. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | spec fixes and Path-v-PATH cleanupLamont Granquist2017-04-061-9/+9
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | try Path on windowsLamont Granquist2017-04-061-1/+9
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Chef-13: shell_out PATH fixes and path_sanity changesLamont Granquist2017-04-062-47/+21
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Turns out polluting PATH with a global path_sanity actually tends to cause problems via picking up stuff from e.g. embedded/bin when users don't want it. This change unsets the default setting to add path sanity. We already have the difference between internal and external uses of shell_out, so what this does is take the internal use of shell_out and always apply the PATH -- so anything calling shell_out gets path_sanity. It also modifies path_sanity to prepend the ruby bin and the embedded bin into the PATH. When we need those for internal use we really want those first. Users who don't want path sanity at all can do: shell_out_with_systems_locale(*whatever) or: shell_out(*whatever, env: { "PATH" => ENV['PATH'] }) Next PR I want to add: shell_out(*whatever, internal: false) Default will still be true though. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version of chef to 13.0.109 by Chef Versioner.v13.0.109Chef Versioner2017-04-061-1/+1
|
* Merge pull request #5851 from chef/lcg/chef-13-formatterLamont Granquist2017-04-065-51/+9
|\ | | | | Chef-13: remove magic from the logger/formatter settings
| * remove logger magic from the windows serviceLamont Granquist2017-04-051-17/+2
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>