summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* revert rspec changemp/knife-gemMarc A. Paradise2021-03-011-5/+5
|
* teach expeditor about new test locationsMarc A. Paradise2021-03-015-7/+68
| | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* RubocopMarc A. Paradise2021-03-013-2/+2
| | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* First, move all the filesMarc A. Paradise2021-03-01880-14384/+25727
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Then move specs. Everything is still gonna be broken for a bit. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> fix the requires p1 Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> fix the requires p2 Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> add a broken gemspec in progress Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fix ../role Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fix ../json_compat Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fix ../node Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fix ../environment Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fix ../encrypted_data_bag_item Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fix ../data_bag_item Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fix ../server_api Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fix ../api_client_v1 Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fix ../cookbook_version Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fix ../exceptions Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fix ../user_v1 Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> manual fix knife raw includes Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fix ../cookbook_loader Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fix ../cookbook_uploader Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fix ../config Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fix ../cookbook/metadata Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> More pathhlper Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> more fix Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fixes for various chef_fs Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> sed fixes for data_bag Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Move chef-fs/knife to knife. Might be temporary Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Fix more requires Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Additional fixes Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Preserve dir structure chef/knife Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> remove hopefully unused chef deps Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Get knife gemfile/spec in shape, add version Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> On the road to tests... For now I'm copy-pastaing the spec support files, will trim them down as I learn more Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> move cookbook site streaming uploader out of chef, only used by knife Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> cookbook_uploader does not need Knife::CookbookMetadata cli command class for anything Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Finish move of CookbookSiteStreamingUploader to Knife::Core Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Move application/knife Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> fixes related to cbstreaming uploader move Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> mostly cleaning fallout of moving application/knife Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Adding all spec data for now, will need to trim it down to what knife specs need Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Fix streaming uploader class refs in test Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Add knife bin. May ned to remove from ../bin too, but not ready to test that Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Fix usage of knife from path Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> fixes uncovered in tests. Why do we now need to load deps explicitly for supermarket_install? Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Gets almost all tests passing, except the one I had to pend for now Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> oops Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Working on rake tasks for knife Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> rubocopisms Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> wip - update piple/testing Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Add a gitignored file that we need Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> DISCUSS this commit. Fixes remainin gfailing tests, and reverts a couple of others to their original state where they now pass Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> CHEF_ROOT was only referenced in knife. is now knife KNIFE_ROOT and in knife. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> todo cleanup Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> Revert some unwanted changes. squash Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com> update test task to include knife We can visit if we want to split these out separately later, but for now this keeps us running the chef and knife tests together. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* Bump version to 17.0.92 by Chef Expeditorv17.0.92Chef Expeditor2021-02-117-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Bump version to 17.0.91 by Chef Expeditorv17.0.91Chef Expeditor2021-02-117-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Update RELEASE_NOTES.mdTim Smith2021-02-111-0/+1
| | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #11006 from chef/mp/openssl-1.1.1i-for-osxTim Smith2021-02-111-1/+1
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * This updates OSX builds to use openssl 1.1.1i.Marc A. Paradise2021-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | chef-client et al are on openssl 1.0.2 because we depend on it for FIPS support; however we do not support FIPS for OS X. In addition, there is not yet a viable build of 1.0.2 for Mac's m1/arm64 arch; switching OSX to 1.1.1i will provide a compatible build for that architecture, and remains backwards compatible. Builds for all other platforms platforms will remain on OpenSSL 1.0.2. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* | Merge pull request #11009 from ↵Tim Smith2021-02-111-1/+1
|\ \ | |/ |/| | | | | chef/dependabot/bundler/omnibus/master/omnibus-software-a018c22 Signed-off-by: Tim Smith <tsmith@chef.io>
| * Bump omnibus-software from `1fa2052` to `a018c22` in /omnibusdependabot-preview[bot]2021-02-111-1/+1
|/ | | | | | | Bumps [omnibus-software](https://github.com/chef/omnibus-software) from `1fa2052` to `a018c22`. - [Release notes](https://github.com/chef/omnibus-software/releases) - [Commits](https://github.com/chef/omnibus-software/compare/1fa20525db43784dc91e647015f2ff46cac15b37...a018c223f02973f61daff4b522660949f03e534e) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump version to 17.0.90 by Chef Expeditorv17.0.90Chef Expeditor2021-02-117-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11003 from chef/docs_expansionTim Smith2021-02-109-20/+21
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add more descriptions for docs generationTim Smith2021-02-109-20/+21
|/ | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.0.89 by Chef Expeditorv17.0.89Chef Expeditor2021-02-117-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11004 from chef/alibabaTim Smith2021-02-106-7/+24
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add note to release notesTim Smith2021-02-101-0/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Add alibaba? helper and pull in Ohai with alibaba supportTim Smith2021-02-105-7/+23
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a fully supported cloud now ``` [root@1234 mixin]# ohai alibaba { "meta_data": { "dns_conf_": "nameservers", "eipv4": "47.89.242.123", "hibernation_": "configured", "hostname": "1234", "image_id": "aliyun_2_1903_x64_20G_alibase_20210120.vhd", "instance_id": "i-rj996x25ht5omuhhzod7", "instance_": { "instance_type": "ecs.t6-c2m1.large", "last_host_landing_time": "2021-02-07 19:10:04", "max_netbw_egress": 81920, "max_netbw_ingress": 81920, "virtualization_solution": "ECS Virt", "virtualization_solution_version": 2.0 }, "mac": "00:16:3e:00:d9:01", "network_type": "vpc", "network_": "interfaces/", "ntp_conf_": "ntp-servers", "owner_account_id": 1234, "private_ipv4": "172.25.58.242", "region_id": "us-west-1", "serial_number": "ac344378-4d5d-4b9e-851b-1234", "source_address": "http://us1.mirrors.cloud.aliyuncs.com", "sub_private_ipv4_list": "172.25.58.243", "vpc_cidr_block": "172.16.0.0/12", "vpc_id": "vpc-1234", "vswitch_cidr_block": "172.25.48.0/20", "vswitch_id": "vsw-rj9eiw6yqh6zll23h0tlt", "zone_id": "us-west-1b" }, "user_data": null, "dynamic": "instance-identity", "global_config": null, "maintenance": "active-system-events" } ``` Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump version to 17.0.88 by Chef Expeditorv17.0.88Chef Expeditor2021-02-117-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11002 from chef/expeditor/mixlib-archive_1.1.4Tim Smith2021-02-101-2/+2
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Bump mixlib-archive to 1.1.4Chef Expeditor2021-02-111-2/+2
|/ | | | | | This pull request was triggered automatically via Expeditor when mixlib-archive 1.1.4 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 17.0.87 by Chef Expeditorv17.0.87Chef Expeditor2021-02-107-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Merge pull request #11000 from chef/expeditor/ffi-libarchive_1.0.17Tim Smith2021-02-101-2/+2
|\ | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Bump ffi-libarchive to 1.0.17Chef Expeditor2021-02-101-2/+2
|/ | | | | | This pull request was triggered automatically via Expeditor when ffi-libarchive 1.0.17 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 17.0.86 by Chef Expeditorv17.0.86Chef Expeditor2021-02-087-19/+20
| | | | Obvious fix; these changes are the result of automation not creative thinking.
* Update RELEASE_NOTES.mdTim Smith2021-02-081-0/+1
| | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Merge pull request #10989 from chef/reboot_pendingTim Smith2021-02-082-4/+3
|\ | | | | Extend the reboot_pending? helper to all debian-ish platforms
| * Fix typo in release notesreboot_pendingTim Smith2021-02-041-1/+1
| | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * Extend the reboot_pending? helper to all debian-ish platformsTim Smith2021-02-043-5/+4
| | | | | | | | | | | | | | This works on Debian as well and we want to check it on all Ubuntu-derivatives. Signed-off-by: Tim Smith <tsmith@chef.io>
* | Update RELEASE_NOTES.mdTim Smith2021-02-081-0/+1
| | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 17.0.85 by Chef Expeditorv17.0.85Chef Expeditor2021-02-087-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Fix downgrades in apt_package (#10993)Phil Dibowitz2021-02-083-18/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `apt_package` never even looks at `new_resource.version` when deciding what version to install. That's silly. This fixes that. It requires the version be exact (as the `yum_package` did for most of Chef's history), and if you specify a non-existent version, it'll raise an exception. The unit tests for this provider are a bit of a mess, so I kinda stuck in the tests where I could. ``` [2021-02-07T15:59:35-08:00] TRACE: apt_package[hub] installed version for hub is 2.14.2-1vcrs.1 [2021-02-07T15:59:35-08:00] TRACE: apt_package[hub] candidate version for hub is 2.14.2-1vcrs.1 [2021-02-07T15:59:35-08:00] TRACE: apt_package[hub] hub 2.14.2-1vcrs.1 needs updating to 2.7.0~ds1-1vcrs.1 [2021-02-07T15:59:38-08:00] INFO: apt_package[hub] installed hub at 2.7.0~ds1-1vcrs.1 ``` Signed-off-by: Phil Dibowitz <phil@ipom.com>
* | Bump version to 17.0.84 by Chef Expeditorv17.0.84Chef Expeditor2021-02-077-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10995 from chef/ohai_bump_17Tim Smith2021-02-071-2/+2
|\ \ | | | | | | Update Ohai to 17.0.18 for alibabalinux support
| * | Update Ohai to 17.0.18 for alibabalinux supportTim Smith2021-02-071-2/+2
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 17.0.83 by Chef Expeditorv17.0.83Chef Expeditor2021-02-077-19/+20
| | | | | | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | | Merge pull request #10994 from chef/ohai_bump_17Tim Smith2021-02-072-14/+14
|\ \ \ | |/ / | | | Update Ohai to 17.0.17
| * | Update Ohai to 17.0.17Tim Smith2021-02-072-14/+14
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | | Bump version to 17.0.82 by Chef Expeditorv17.0.82Chef Expeditor2021-02-077-19/+20
|/ / | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10992 from chef/more_docsTim Smith2021-02-075-18/+22
|\ \ | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Move description to a single lineTim Smith2021-02-071-4/+2
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Fix typosTim Smith2021-02-072-3/+3
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Expand windows_env resource descriptionmore_docsTim Smith2021-02-061-1/+2
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add more action descriptionsTim Smith2021-02-061-3/+5
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Document default actionsTim Smith2021-02-061-3/+3
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Add more actions descriptionsTim Smith2021-02-062-7/+3
| | | | | | | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
| * | Properly handle notes or warnings in propertiesTim Smith2021-02-061-3/+10
|/ / | | | | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* | Bump version to 17.0.81 by Chef Expeditorv17.0.81Chef Expeditor2021-02-067-19/+20
| | | | | | | | Obvious fix; these changes are the result of automation not creative thinking.
* | Merge pull request #10991 from chef/lcg/fix-abrt-errorsLamont Granquist2021-02-052-0/+8
|\ \ | | | | | | DNF/YUM package: fix abrt errors
| * | DNF package: fix abrt errorslcg/fix-abrt-errorsLamont Granquist2021-02-052-0/+8
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | For people with ABRT logging every exit of chef-client would have ABRT errors due to readline returning '' for EOF and then the JSON parsing throwing. This causes it to exit gracefully. AFAIK there was actually no impact to this bug and chef was behaving entirely correctly in terms of doing its job, but the python helper was shutting down uncleanly. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>