summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update .bldr.tomlafiune/habSalim Afiune2019-08-022-13/+1
| | | | Signed-off-by: Salim Afiune <afiune@chef.io>
* Cleanup habitat/plan.sh for chef-infra-clientSalim Afiune2019-08-026-132/+149
| | | | Signed-off-by: Salim Afiune <afiune@chef.io>
* Bump version to 15.2.10 by Chef Expeditorv15.2.10Chef Expeditor2019-08-016-14/+15
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Remove Travis / Jenkins config / docs (#8786)Lamont Granquist2019-07-317-244/+16
|\ | | | | Remove Travis / Jenkins config / docs
| * Remove Travis / Jenkins config / docsTim Smith2019-07-317-244/+16
| | | | | | | | | | | | Update some of our build docs to reflect the current process. Nuke the old Travis config. We're Buildkite + appveyor only at this point. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 15.2.9 by Chef Expeditorv15.2.9Chef Expeditor2019-07-316-14/+15
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump mixlib-shellout to 3.0.7 (#8784)Lamont Granquist2019-07-311-6/+6
|\ \ | |/ |/| Bump mixlib-shellout to 3.0.7
| * Bump mixlib-shellout to 3.0.7Chef Expeditor2019-07-311-6/+6
|/ | | | | | This pull request was triggered automatically via Expeditor when mixlib-shellout 3.0.7 was promoted to Rubygems. This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required.
* Bump version to 15.2.8 by Chef Expeditorv15.2.8Chef Expeditor2019-07-316-14/+15
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #8783 from chef/jsinha/enable_ktTim Smith2019-07-311-165/+165
|\ | | | | Enable Kitchen dockken tests with BK linux executor
| * Enable Kitchen dockken tests with BK linux executorjsinha/enable_ktJaymala Sinha2019-07-311-165/+165
| | | | | | | | Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* | Bump version to 15.2.7 by Chef Expeditorv15.2.7Chef Expeditor2019-07-316-14/+15
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Jsinha/add rhel8 (#8742)Lamont Granquist2019-07-312-9/+10
|\ \ | |/ |/| Jsinha/add rhel8
| * Update Gemfile.lock to latest omnibusjsinha/add_rhel8Jaymala Sinha2019-07-301-9/+9
| | | | | | | | Signed-off-by: Jaymala Sinha <jsinha@chef.io>
| * Enable RHEL 8 packagesJaymala Sinha2019-07-301-0/+1
|/ | | | Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* Bump version to 15.2.6 by Chef Expeditorv15.2.6Chef Expeditor2019-07-266-14/+15
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Fix zypper test failures (#8774)Lamont Granquist2019-07-261-1/+13
|\ | | | | Fix zypper test failures
| * Fix zypper test failuresjsinha/fix_ec2_slesJaymala Sinha2019-07-261-1/+13
|/ | | | | | | | Resolve error from kill for leftover rspec processes Cloud testers have as many as 10 zypper repos configured and enabled, so the zypper searches from specs take longer to run on our testers as too many repos with most of them enabled were slowing down the zypper process, locking it during the test runs and failing the zypper package functional tests. Since we do not use these repos in our testing we delete them. Signed-off-by: Jaymala Sinha <jsinha@chef.io>
* Bump version to 15.2.5 by Chef Expeditorv15.2.5Chef Expeditor2019-07-256-14/+15
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #8776 from chef/lcg/data-collector-exception-handlingTim Smith2019-07-252-8/+97
|\ | | | | Tweak data collector exception handling
| * and don't forget to fix the test i just added...lcg/data-collector-exception-handlingLamont Granquist2019-07-241-1/+1
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * drop the info message down to debugLamont Granquist2019-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | a 404 is probably unlikely in any circumstance other than when the user really does not intend to use the data collector at all (hosted, automate 1, older chef servers, etc). i don't know how you'd get into a situation where the user wanted to setup the data collector against an automate 2 server, but the data collector endpoint didn't exist -- presumably because they accidentally pointed it at a valid old chef server accidentally, which is going to be an incredibly infrequent edge condition. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * Tweak data collector exception handlingLamont Granquist2019-07-242-8/+97
|/ | | | | | | | | | | | | | | | | | | This isn't Java and Net::HTTP can throw a billion things, so just rescue (nearly) everything. I have a hard time imagining that there's a failure here that we wouldn't want to ignore, other than the ones like OOM thrown by Exception that indicate internal failures. Also only throw the "this is normal" info message on 404s, other responses like 500s should be warns even if it is set to ignore failures (people with data collectors correctly setup need to know about 500s even if we keep going, since that is abnormal). This also fixes a bug in handling exceptions like Timeout::Error which do not have a response.code at all which would throw NoMethodError. closes #8749 Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Bump version to 15.2.4 by Chef Expeditorv15.2.4Chef Expeditor2019-07-236-14/+15
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Duration field in resource report needs to be String (#8767)Lamont Granquist2019-07-232-1/+3
|\ | | | | Duration field in resource report needs to be String
| * Duration field in resource report needs to be Stringlcg/resource_reporter_duration_bugfixLamont Granquist2019-07-232-1/+3
| | | | | | | | | | | | | | | | | | | | Somehow this got converted to a bare integer in Chef-15 refactoring which causes the server-side to reject it, so reverting back to the old format. Closes #8532 Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 15.2.3 by Chef Expeditorv15.2.3Chef Expeditor2019-07-236-14/+15
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #8768 from chef/bzip2Tim Smith2019-07-231-3/+3
|\ \ | |/ |/| Update bzip2 from 1.0.6 -> 1.0.8 to resolve CVEs
| * Update bzip2 from 1.0.6 -> 1.0.8 to resolve CVEsTim Smith2019-07-231-3/+3
|/ | | | | | | * bzip2recover: Fix use after free issue with outFile (CVE-2016-3189) * Make sure nSelectors is not out of range (CVE-2019-12900) Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 15.2.2 by Chef Expeditorv15.2.2Chef Expeditor2019-07-236-14/+15
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #8766 from chef/expeditor/train-core_2.1.19Tim Smith2019-07-231-1/+1
|\ | | | | Bump train-core to 2.1.19
| * Bump train-core to 2.1.19expeditor/train-core_2.1.19Chef Expeditor2019-07-231-1/+1
|/ | | | | | This pull request was triggered automatically via Expeditor when train-core 2.1.19 was promoted to Rubygems. This change falls under the obvious fix policy so no Developer Certificate of Origin (DCO) sign-off is required.
* Bump version to 15.2.1 by Chef Expeditorv15.2.1Chef Expeditor2019-07-236-14/+15
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #8744 from chef/lcg/application-base-classTim Smith2019-07-233-646/+456
|\ | | | | Move chef-client and chef-solo shared code into a base class and remove duplication and skew
| * Tidy up awkward reading commentlcg/application-base-classLamont Granquist2019-07-151-2/+1
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * support named run list on commandline in soloLamont Granquist2019-07-152-5/+5
| | | | | | | | | | | | this has to fix a bug for someone. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * consolidate some options in the base classLamont Granquist2019-07-153-53/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | most of these are options that apply to either chef-client -z or to chef-solo without legacy mode, so they are justifiably common options (that are handled by the trampolining into the Client code from Solo right now. the --legacy-mode switch is solo-specific (although we should wire it up for chef-client eventually once all the code is merged). old-reporting and skip-cookbook-sync only make sense for actual chef-client runs so are marked as such in the help text Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * --fips, --fatal-windows-admin-check and --disable-configLamont Granquist2019-07-153-19/+21
| | | | | | | | | | | | | | | | should fix fips mode for chef-solo, adds the windows admin check feature, but the distable-config option needs some future work to the base class to support it. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * add some comments on deprecation of the solo classLamont Granquist2019-07-153-0/+22
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * missing SELF_PIPE for the daemon loopLamont Granquist2019-07-152-3/+3
| |
| * migrate --delete-entire-chef-repo to base classLamont Granquist2019-07-153-10/+5
| | | | | | | | | | | | this is a trivial duplication Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * Copy the daemon loop from client to baseLamont Granquist2019-07-153-157/+106
| | | | | | | | | | | | | | These improvements never made it into solo and should be backwards compatible. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * add --target-mode to base classLamont Granquist2019-07-152-9/+9
| | | | | | | | | | | | this adds it to chef-solo Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * copy --ez to base classLamont Granquist2019-07-152-15/+16
| | | | | | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
| * change some uses of CLIENT to PRODUCT in the base classLamont Granquist2019-07-151-4/+4
| |
| * add --once to base classLamont Granquist2019-07-152-5/+5
| | | | | | | | | | this was not present in chef-solo for whatever reason even though the code is there, it has always been broken
| * normalize fetch_recipe_tarballLamont Granquist2019-07-153-25/+15
| | | | | | | | | | | | | | | | | | | | | | this makes solo behave like client does. client was modified in these pulls: https://github.com/chef/chef/pull/7223 https://github.com/chef/chef/pull/7523 but those changes were never "ported" to solo.
| * create application base class for de-duplicationLamont Granquist2019-07-153-346/+198
| | | | | | | | | | | | all of the changes in this commit should be mechanical and identical Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Bump version to 15.2.0 by Chef Expeditorv15.2.0Chef Expeditor2019-07-226-14/+15
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #8761 from chef/bump_inspecTim Smith2019-07-222-10/+10
|\ \ | | | | | | Bump InSpec, Ohai, and appbundler to the latest