summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | Bump InSpec, Ohai, and appbundler to the latestbump_inspecTim Smith2019-07-192-10/+10
|/ / | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 15.1.58 by Chef Expeditorv15.1.58Chef Expeditor2019-07-196-14/+15
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Bump version to 15.1.57 by Chef Expeditorv15.1.57Chef Expeditor2019-07-196-14/+15
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #8747 from tomdoherty/lkm_disableTim Smith2019-07-192-1/+20
|\ \ | | | | | | Implement disable for disabling kernel_modules
| * | Implement disable for disabling kernel_modulesTom Doherty2019-07-172-1/+20
| |/ | | | | | | | | | | This allows inspec kernel_module be_disabled to work Signed-off-by: Tom Doherty <tom.doherty@fixnetix.com>
* | Merge pull request #8759 from chef/fedora_testingTim Smith2019-07-191-1/+45
|\ \ | | | | | | Add rspec testing on Fedora in Buildkite
| * | Add rspec testing on Fedora in Buildkitefedora_testingTim Smith2019-07-191-1/+45
| | | | | | | | | | | | | | | | | | Let's further verify our changes before merging. Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Merge pull request #8758 from chef/fedora_testingTim Smith2019-07-191-21/+12
|\ \ \ | |/ / | | | Cleanup the Travis config
| * | Run our Kitchen test on Ruby 2.6Tim Smith2019-07-191-12/+12
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Remove travis notificationsTim Smith2019-07-191-6/+0
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Remove leftover rspec testing config in travisTim Smith2019-07-191-3/+0
|/ / | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 15.1.56 by Chef Expeditorv15.1.56Chef Expeditor2019-07-196-14/+15
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | dnf_package fixes for RHEL8 (#8754)Lamont Granquist2019-07-195-8/+32
|\ \ | | | | | | dnf_package fixes for RHEL8