summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fixing specs for windowslcg/restore-log-locationLamont Granquist2017-04-061-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix specLamont Granquist2017-04-061-0/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Chef-13: restore log_location in client.rbLamont Granquist2017-04-063-14/+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>
* Merge pull request #6014 from chef/lcg/shell-out-pathLamont Granquist2017-04-069-148/+99
|\ | | | | Chef-13: shell_out PATH fixes and path_sanity changes
| * [ci skip] add note on guard impl changingLamont Granquist2017-04-061-0/+4
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * switch guards to use shell_out_with_systems_localeLamont Granquist2017-04-062-4/+6
| | | | | | | | | | | | matches the execute resource usage. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * fix markdown typoLamont Granquist2017-04-061-1/+1
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * [ci skip] update RELEASE_NOTES for shell_out breaksLamont Granquist2017-04-061-0/+31
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * spec fixes and Path-v-PATH cleanupLamont Granquist2017-04-062-19/+27
| | | | | | | | 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>
| * bump kitchen-tests cookbooksLamont Granquist2017-04-061-5/+3
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * Chef-13: shell_out PATH fixes and path_sanity changesLamont Granquist2017-04-065-142/+42
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-065-11/+24
|
* Merge pull request #5851 from chef/lcg/chef-13-formatterLamont Granquist2017-04-0610-111/+122
|\ | | | | Chef-13: remove magic from the logger/formatter settings
| * fix knife configure client speclcg/chef-13-formatterLamont Granquist2017-04-051-2/+0
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * [ci skip] tweak RELEASE_NOTES wordingLamont Granquist2017-04-051-3/+5
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * couple of integration tests for Chef-13 formatterLamont Granquist2017-04-051-0/+38
| | | | | | | | | | | | | | | | make sure that we fail if we can see info logs at least (halfway decent check that we're not getting the logger when we're going through a pipe / not through a tty) Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * remove logger magic from the windows serviceLamont Granquist2017-04-051-17/+2
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * savegameLamont Granquist2017-04-052-6/+2
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * CHEF-13: remove magic from the logger/formatter settingsLamont Granquist2017-04-056-86/+78
| | | | | | | | | | | | closes #2514 Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version of chef to 13.0.108 by Chef Versioner.v13.0.108Chef Versioner2017-04-065-16/+10
| |
* | Merge pull request #5886 from MsysTechnologiesllc/nim/windows_taskThom May2017-04-068-0/+1266
|\ \ | | | | | | Adding windows_task resource
| * | Fixed review comments by thommaynimisha2017-04-063-2/+3
| | | | | | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
| * | Removed config file and chcp commandnimisha2017-04-053-9/+15
| | | | | | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
| * | Dependencies update for iso8601Bryan McLellan2017-04-042-0/+2
| | | | | | | | | | | | Signed-off-by: Bryan McLellan <btm@chef.io>
| * | Added unit testcases for windows_task providernimisha2017-04-031-0/+391
| | | | | | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
| * | Fixed Rubocop style issues and review commentsnimisha2017-03-313-848/+861
| | | | | | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
| * | Adding specs for windows_task resourcenimisha2017-03-313-1/+214
| | | | | | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
| * | Using chcp 437 and fixed some bugsnimisha2017-03-315-9/+17
| | | | | | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
| * | Accepting random_delay and execution_time_limit in secondsnimisha2017-03-312-3/+57
| | | | | | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
| * | Fixed Idempotency checknimisha2017-03-313-29/+151
| | | | | | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
| * | Removed :change action. Moved validations to after_creatednimisha2017-03-312-156/+141
| | | | | | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
| * | Updated random_delay implementation and added execution_time_limit propertynimisha2017-03-312-9/+30
| | | | | | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
| * | Added support for random_delay optionnimisha2017-03-312-12/+30
| | | | | | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
| * | Adding windows_task resourcenimisha2017-03-314-0/+432
| | | | | | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* | | Bump version of chef to 13.0.107 by Chef Versioner.v13.0.107Chef Versioner2017-04-065-15/+18
| | |
* | | Merge pull request #6028 from chef/lcg/chef-13-gem-package-take-2Thom May2017-04-065-45/+59
|\ \ \ | |_|/ |/| | Chef-13: better solution to gem_package source issues
| * | Chef-13: better solution to gem_package source issueslcg/chef-13-gem-package-take-2Lamont Granquist2017-04-055-45/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think this is better - Chef::Config[:rubygems_uri] is nearly always applied (but could be set to nil if someone really wanted to opt-out) - the per-resources sources are additive on top of the global config (lets cookbooks be additive to global config rather than override it by default). - there's a new flag for if you want to opt-out of the global config completely on a per-resource basis. So I think this gets the most commmon and the next most common use cases correct, while still allow people with arbitrarily crazy needs to write resources that do it. The RELEASE_NOTES also have somewhat better user stories in them, which I think suggests that I'm on the right track here. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | | Merge pull request #6024 from chef/create_in_dkTim Smith2017-04-052-654/+2
|\ \ \ | | | | | | | | Chef 13: Remove the knife cookbook create command in favor of Chef-DK
| * | | Improve the warning textcreate_in_dkTim Smith2017-04-052-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Chef 13: Remove the knife cookbook create command in favor of Chef-DKTim Smith2017-04-052-654/+2
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | | Merge pull request #6025 from chef/integration_test_tweaksTim Smith2017-04-0515-42/+24
|\ \ \ \ | |_|/ / |/| | | Remove Ubuntu 12.04 testing in Travis + integration tweaks
| * | | Remove 12.04 testing in Travisintegration_test_tweaksTim Smith2017-04-053-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | 12.04 is goes EOL on 4/28. http://fridge.ubuntu.com/2017/03/15/ubuntu-12-04-precise-pangolin-reaches-end-of-life-on-april-28-2017/ Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Update test cookbook copyright headersTim Smith2017-04-055-9/+19
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Move test templates out of the default directoryTim Smith2017-04-052-0/+0
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Update test cookbook licensesTim Smith2017-04-055-5/+5
| | | | | | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | | Remove duplicate bundler_args from TravisTim Smith2017-04-051-1/+0
| |/ / | | | | | | | | | | | | | | | This is in here twice and the YAML is invalid. They’re duplicate Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version of chef to 13.0.106 by Chef Versioner.v13.0.106Chef Versioner2017-04-055-10/+10
| | |
* | | Merge pull request #6023 from coderanger/root-aliasNoah Kantrowitz2017-04-0513-6/+42
|\ \ \ | | | | | | | | Improve coverage of root alias tests
| * | | Improve coverage of root alias tests.Noah Kantrowitz2017-04-0513-6/+42
| | | | | | | | | | | | | | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>