summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add timeout propertymsu_15dheerajd-msys2020-06-235-1/+13
| | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* update specdheerajd-msys2020-06-231-2/+3
| | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* fix msu pkg cumulative updatesdheerajd-msys2020-06-231-2/+2
| | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* Bump version to 15.12.20 by Chef Expeditorv15.12.20Chef Expeditor2020-06-237-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10054 from chef/misc_15Tim Smith2020-06-2334-108/+186
|\ | | | | Pull in misc docs / comment updates from master
| * Pull in misc docs / comment updates from masterTim Smith2020-06-2334-108/+186
| | | | | | | | | | | | This just makes the diff easier Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 15.12.19 by Chef Expeditorv15.12.19Chef Expeditor2020-06-237-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10053 from chef/misc_15Tim Smith2020-06-233-30/+12
|\ \ | |/ | | Pull in the latest net-ssh/net-sftp & remove the http2 dep in chef-telemetry
| * Pull in the latest net-ssh/net-sftp & remove the http2 dep in chef-telemetryTim Smith2020-06-233-30/+12
| | | | | | | | | | | | This expands our SSH support and the telemetry update slims the package down slightly. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 15.12.18 by Chef Expeditorv15.12.18Chef Expeditor2020-06-237-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10037 from chef/rspec_15Tim Smith2020-06-238-39/+39
|\ \ | |/ |/| Fix rspec warning about `not_to raise_error` with a specific exception.
| * Fix rspec warning about `not_to raise_error` with a specific exception.Pete Higgins2020-06-238-39/+39
| | | | | | | | | | | | WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /Users/pete/work/chef/spec/unit/resource_spec.rb:381:in `block (4 levels) in <top (required)>'. Signed-off-by: Pete Higgins <pete@peterhiggins.org>
* | Bump version to 15.12.17 by Chef Expeditorv15.12.17Chef Expeditor2020-06-237-19/+20
|/ | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10051 from chef/specs_15Tim Smith2020-06-231-9/+1
|\ | | | | Fix wrong unit test exposed by cleaning up rspec deprecations.
| * Chefstyle fixTim Smith2020-06-231-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Fix wrong unit test exposed by cleaning up rspec deprecations.Pete Higgins2020-06-231-9/+1
|/ | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
* Bump version to 15.12.16 by Chef Expeditorv15.12.16Chef Expeditor2020-06-237-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10028 from chef/15_bumpTim Smith2020-06-234-52/+61
|\ | | | | Bump all deps to current
| * Pin pry-stack-explorer for Ruby 2.5 supportTim Smith2020-06-232-4/+4
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Bump all deps to currentTim Smith2020-06-233-74/+84
| | | | | | | | | | | | Avoid having to fix the openssl deprecation that only impacts ruby 2.8+ Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 15.12.15 by Chef Expeditorv15.12.15Chef Expeditor2020-06-237-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10049 from chef/inspec_15Tim Smith2020-06-232-23/+24
|\ \ | |/ |/| Bump InSpec to 4.20.10
| * Bump InSpec to 4.20.10Tim Smith2020-06-232-23/+24
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 15.12.14 by Chef Expeditorv15.12.14Chef Expeditor2020-06-237-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10044 from chef/15_bootstrapTim Smith2020-06-231-9/+9
|\ | | | | Use /etc/chef for bootstrapping instead of ChefConfig
| * Use /etc/chef for bootstrapping instead of ChefConfigdheerajd-msys2020-06-231-9/+9
| | | | | | | | Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
* | Bump version to 15.12.13 by Chef Expeditorv15.12.13Chef Expeditor2020-06-237-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10046 from chef/bump_ohai_15Tim Smith2020-06-231-4/+4
|\ \ | | | | | | Bump Ohai to 15.12 to support macOS Big Sur
| * | Bump Ohai to 15.12 to support macOS Big SurTim Smith2020-06-231-4/+4
| |/ | | | | | | | | | | Beta OS time! Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 15.12.12 by Chef Expeditorv15.12.12Chef Expeditor2020-06-237-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10045 from chef/15_windows_8Tim Smith2020-06-231-0/+1
|\ \ | |/ |/| Add Windows 8 Tester
| * Add Windows 8 TesterChristopher A. Snapp2020-06-231-0/+1
|/ | | | Signed-off-by: Christopher A. Snapp <csnapp@chef.io>
* Bump version to 15.12.11 by Chef Expeditorv15.12.11Chef Expeditor2020-06-237-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10042 from chef/snap_15Tim Smith2020-06-232-28/+97
|\ | | | | Fix snap_package bugs
| * Bring in spec fix from 65b52caf20fe608eaf2a0975ed09539c5ba0d4c4Tim Smith2020-06-231-1/+1
| | | | | | | | | | | | We don't want / need the whole commit, but we need this Signed-off-by: Tim Smith <tsmith@chef.io>
| * Chefstyle fixesTim Smith2020-06-231-5/+6
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Fix snap_package bugsPhil Dibowitz2020-06-231-28/+96
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First and foremost this fixes the bug in which #8827 where `snap_package` hangs forever. See the comment in the code for the nitty-gritty details, but snap never returns an EOF so you have to jump through GREAT hoops not to hang forever. UNLESS you want to use nonblock+read, but it takes MUCH longer: ``` [phil@ldt-hardwired ~]$ time /tmp/test.rb char real 0m0.252s user 0m0.207s sys 0m0.044s [phil@ldt-hardwired ~]$ time /tmp/test.rb select real 0m5.244s user 0m0.183s sys 0m0.056s ``` That's just for doing `GET /v2/snaps/black` Second, if you try to install a snap that doesn't exist on the `stable` channel then Chef crashes with a `undefined method [] on nil`, so let's check for that explicitly. And a bunch of other fixes that were required to even install anything: * prevent get_current_versions from returning `[nil]` * don't try to 'update' when something is not yet installed * don't try to install versions, install packages * don't try to push ruby hashes into HTTP without JSONing them first * when installing, install one at a time, it's the only API that accepts a channel * options is an array, not a hash NOTE... there's a lot of janky here. A lot. It's the minimalist stuff from #9106 I could pull in, while also making the socket stuff not painfully slow. That PR aims to support versions and lots of other and should be fixed up and [eventually] merged... but in the meantime this provider doesn't even come close to working and this at least gets packages installing. After this, I never want to touch snap again. Signed-off-by: Phil Dibowitz <phil@ipom.com>
* Bump version to 15.12.10 by Chef Expeditorv15.12.10Chef Expeditor2020-06-237-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10043 from chef/quiet_tests_15Tim Smith2020-06-231-0/+9
|\ | | | | Silence exception output in threaded test.
| * Silence exception output in threaded test.Pete Higgins2020-06-231-0/+9
|/ | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
* Bump version to 15.12.9 by Chef Expeditorv15.12.9Chef Expeditor2020-06-237-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #10041 from chef/validatorless_bootstrap_15Tim Smith2020-06-232-7/+4
|\ | | | | Warn during bootstrapping when using validation keys
| * Warn during bootstrapping when using validation keysTim Smith2020-06-232-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | We should highly encourage users to move to validatorless bootstrapping 1) It's more secure 2) It requires less admin work since there no validation key to pass around or rotate This also provides an improved message helping the user to move off the old keys and fixes some bad formatting where the 2nd line was indented about 40 columns. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 15.12.8 by Chef Expeditorv15.12.8Chef Expeditor2020-06-237-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10040 from chef/databag_path_15Tim Smith2020-06-232-3/+3
|\ \ | | | | | | knife vault on windows 10 fails due to ERROR: Chef::Exceptions::InvalidDataBagPath
| * | Updated exception messagesnehaldwivedi2020-06-232-3/+3
| | | | | | | | | | | | Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
| * | Updated exception message Chef::Exceptions::InvalidDataBagPathsnehaldwivedi2020-06-232-3/+3
| |/ | | | | | | Signed-off-by: snehaldwivedi <sdwivedi@msystechnologies.com>
* | Bump version to 15.12.7 by Chef Expeditorv15.12.7Chef Expeditor2020-06-237-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10039 from chef/bootstrap_protocol_15Tim Smith2020-06-231-1/+1
|\ \ | |/ |/| Let the user know what protocol we're using in knife bootstrap
| * Let the user know what protocol we're using in knife bootstrapTim Smith2020-06-231-1/+1
|/ | | | | | | | | | | | | | | | | | This makes it really clear that you're not using the right protocol when you're bootstrapping a Windows node: ``` ❰tsmith❙~/dev/work/chef(git✱knife_password)❱✘≻ bundle exec knife bootstrap 172.16.1.233 -U ubuntu Connecting to 172.16.1.233 ``` becomes ``` ❰tsmith❙~/dev/work/chef(git✱knife_password)❱✘≻ bundle exec knife bootstrap 172.16.1.233 -U ubuntu Connecting to 172.16.1.233 using ssh ``` Signed-off-by: Tim Smith <tsmith@chef.io>