summaryrefslogtreecommitdiff
path: root/chef.gemspec
Commit message (Collapse)AuthorAgeFilesLines
* Require train-winrm >= 0.2.5train_winrmTim Smith2019-09-241-1/+1
| | | | | | 0.2.4 and before are entirely broken for bootstrapping. Signed-off-by: Tim Smith <tsmith@chef.io>
* bump mixlib-shellout floor and add func testing on optionsLamont Granquist2019-09-041-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Update InSpec to 4.12 and Train to 3.0Tim Smith2019-08-291-1/+2
| | | | | | InSpec 4.12 pulls in Train 3.0, which removes the winrm functionality. We're adding it back via the new dep on train-winrm. The updated train also includes several bugfixes we need for bootstrapping. Signed-off-by: Tim Smith <tsmith@chef.io>
* use mixlib-cli's deprecation mechanismMarc A. Paradise2019-06-101-1/+1
| | | | | | | | Deprecation logic is now available in `mixlib-cli` via `deprecated_option`. Let's use that instead of keeping our custom deprecation behavior. Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* knife bootstrap should only request license when installing Chef 15knife_licensetyler-ball2019-05-071-1/+1
| | | | | | | | Also updating the transmission of the license acceptance through the config.rb because that brings it in line with existing patterns (Test Kitchen). Signed-off-by: tyler-ball <tball@chef.io>
* Merge pull request #7758 from chef/btm/target-modeTim Smith2019-05-061-0/+1
|\ | | | | Initial target_mode implementation
| * Fix train Gemfilebtm/target-modeBryan McLellan2019-05-061-1/+0
| | | | | | | | Signed-off-by: Bryan McLellan <btm@loftninjas.org>
| * Target Mode initial implementationBryan McLellan2019-05-061-0/+2
| | | | | | | | Signed-off-by: Bryan McLellan <btm@chef.io>
* | chef.gemspecMark Anderson2019-05-031-0/+1
|/ | | | Signed-off-by: Mark Anderson <mark@chef.io>
* Merge pull request #8413 from chef/lcg/remove-binstubs2Lamont Granquist2019-04-291-1/+1
|\ | | | | Remove chef-* bin files from chef gem
| * Remove chef-* binstubs from chef gemLamont Granquist2019-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is for the relicensing effort. Note that this PR leaves the knife and ohai binstubs still in the gem(s) while that discussion is still ongoing. This PR extracts the binstubs to chef-binstubs gem which is not intended to be redistributed outside of the omnibus chef binaries. A blank gem for chef-binstubs has been pushed to rubygems.org for obvious security concerns and so that bundler/rubygems can resolve the gem Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* | Add train-core. Remove chef-core references outside of bootstrapMarc A. Paradise2019-04-291-1/+1
|/ | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* bump chef-core to 0.0.3Marc A. Paradise2019-04-241-1/+1
| | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* Add chef-core. Just chef-core.Marc A. Paradise2019-04-241-1/+1
| | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* Constrain chef-core to < 1.0Marc A. Paradise2019-04-241-1/+1
| | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* Update to the released chef-core gemMarc A. Paradise2019-04-241-0/+1
| | | | Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
* Depend on ed25519 and bcrypt_pbkdf gemsTim Smith2019-04-191-0/+2
| | | | | | This gives us support for ed25519 keys Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump highline and net-ssh pins and pull inspec from gitTim Smith2019-04-191-2/+2
| | | | | | | | Highline 1.7 is out and seems reasonable for our minimal highline usage Pulling inspec from git for now allows us to use the latest train which allows for the new net-ssh New net-ssh allows for new key formats Signed-off-by: Tim Smith <tsmith@chef.io>
* Replace highline with tty-screen in knife listkill_highlineTim Smith2019-04-161-0/+1
| | | | | | One step closer to killing off highline. We're just getting the terminal width here, which is super overkill for highline. We're still using it in quite a few other places, but this gets us one step closer to moving over to tty entirely. Signed-off-by: Tim Smith <tsmith@chef.io>
* Add a new archive_file resource from the libarchive cookbookTim Smith2019-04-151-2/+1
| | | | | | This adds the archive_file resource from the libarchive cookbook. I've updated the property names in that cookbook to allow us to add a :create action later on. This code matches the code in the cookbook nearly 100%. Signed-off-by: Tim Smith <tsmith@chef.io>
* Loosen mixlib deps to allow for the latest versionsTim Smith2019-03-181-3/+3
| | | | | | We bumped these all when we removed support for Ruby 2.1/2.2 from our gems Signed-off-by: Tim Smith <tsmith@chef.io>
* WIP: Remove audit mode from chef-clientTim Smith2019-03-111-7/+0
| | | | | | | | This just gives us a line count to the change and perhaps a starting point for when we do this in Chef 15 Signed-off-by: Tim Smith <tsmith@chef.io> Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Allow for mixlib-archive 1.xnewer_mixlib_archiveTim Smith2019-01-181-1/+1
| | | | | | 1.x will work just fine here. Signed-off-by: Tim Smith <tsmith@chef.io>
* Require Ruby 2.5 or laterTim Smith2018-12-051-1/+1
| | | | | | We haven't fully added 2.6 support, but Chef 15 will continue or RFC defined Ruby support process of supporting N and N-1. Now that the latest Ohai 15 is in the Gemfile.lock the unit tests on Ruby 2.4 fail. This bumps the required version to 2.5 and removes the 2.4 tests. Signed-off-by: Tim Smith <tsmith@chef.io>
* Require chef-zero 14.0.11 or later to resolve Rack gem CVEschef_zero_rack_cveTim Smith2018-11-151-1/+1
| | | | | | There are 2 CVEs in rack < 2.0.6. We now require at least 2.0.6 in chef-zero 14.0.11. This requires that version of chef-zero so we can ensure we don't bring in the Rack with CVEs. Signed-off-by: Tim Smith <tsmith@chef.io>
* Pull ohai from github so we can relax the chef-config depTim Smith2018-10-261-1/+1
| | | | | | | | Ohai has a ceiling on the chef-config version it will accept. I just kicked master to ohai 15 in the ohai repo. Pulling from master should allow this all to work now. Signed-off-by: Tim Smith <tsmith@chef.io>
* Move iso8601 gem to windows only gemspecTim Smith2018-10-251-1/+0
| | | | | | We only use this in the windows_task resource. No need to ship it on *nix. This also brings in the latest release where I trimmed the files in the gem down. Signed-off-by: Tim Smith <tsmith@chef.io>
* Don't ship contributing.md and VERSION file in the gemslimTim Smith2018-10-231-2/+2
| | | | | | Neither of these are needed in the gem. Gets us back 16k on disk. Signed-off-by: Tim Smith <tsmith@chef.io>
* Only include the Windows distro files on WindowsTim Smith2018-10-051-1/+1
| | | | | | | | We don't actually need these powershell scripts and DLLs on non-Windows platforms. This shaves 300k from our gem size on non-Windows platforms. Signed-off-by: Tim Smith <tsmith@chef.io>
* Work around rspec 3.8.0 issuesLamont Granquist2018-09-251-1/+1
| | | | | | | | | | | | | | | | | Problem is described in detail here: https://github.com/rspec/rspec-expectations/issues/1068#issuecomment-424580564 Note that this is self-inflicted damage and our pattern of having #to_hash on objects be called by #to_json and to produce a serialized 'flavor' of the object breaks what ruby's semantics are supposed to be and those should all be `#to_h` methods, and we should deprecate `#to_hash` but I imagine that will be a reasonably large breaking change (Although hopefully most of the use by users will be Node#to_hash which is entirely correct usage since that thing is actually a kind of glorified Hash-like monster). Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Require mixlib-shellout 2.4 or laterTim Smith2018-08-131-1/+1
| | | | | | We need this to merge in https://github.com/chef/chef/pull/7353 Signed-off-by: Tim Smith <tsmith@chef.io>
* Maybe hold off on rspec 3.8Seth Thomas2018-08-061-1/+1
| | | | Signed-off-by: Seth Thomas <sthomas@chef.io>
* Bump version of ISO8601 to latest (0.11.0)nimesh-msys2018-07-241-1/+1
| | | | | | | | - Verified: No Threats Fixes- MSYS-868 Signed-off-by: nimesh-msys <nimesh.patni@msystechnologies.com>
* Remove the existing acceptance testing frameworkkill-acceptanceTim Smith2018-06-261-1/+1
| | | | | | | | We haven't used this framework for 2 major releases of Chef and as time goes on it's more and more likely we'll build something very different for testing. We 100% do need acceptance testing, but between dokken testing in Travis and the potential for more complex integration testing with build-kite I think we should do the proper cleanup and remove this code now. Signed-off-by: Tim Smith <tsmith@chef.io>
* Use inspec-core, new ffi gem, and bump depslcg/inspec-core-ffi-and-bumpLamont Granquist2018-06-041-2/+1
| | | | | | | | | Switches to inspec-core, bumps ffi gem to newest release and bumps other deps. closes #7236 Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Also update gem deps for new mixlib-authentication usage.Noah Kantrowitz2018-05-311-1/+1
| | | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* pin ffi to avoid el6/el7 bugginessLamont Granquist2018-04-261-0/+2
| | | | | | | absolutely unknown what this bug is, but it seems to fix specs on el6/el7 Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Merge pull request #7151 from chef/tm/ship_resource_inspectorLamont Granquist2018-04-121-1/+1
|\ | | | | ship resource-inspector
| * ship resource-inspectortm/ship_resource_inspectorThom May2018-04-121-1/+1
| | | | | | | | Signed-off-by: Thom May <thom@chef.io>
* | Update mixlib-log and mixlib-authenticationtm/bump_mixlibsThom May2018-04-121-1/+1
|/ | | | Signed-off-by: Thom May <thom@chef.io>
* mechanical conversion of most debug log statements to traceThom May2018-03-261-1/+1
| | | | Signed-off-by: Thom May <thom@chef.io>
* Add the ability to inject log objectstm/inject_logThom May2018-03-191-1/+1
| | | | | | meaning that we can have inheritable metadata Signed-off-by: Thom May <thom@chef.io>
* Require Ruby 2.4+ruby24+Tim Smith2018-03-131-1/+1
| | | | | | | We're removed testing on 2.3 so at this point we wouldn't know if we introduced some Ruby 2.4+ code. Signed-off-by: Tim Smith <tsmith@chef.io>
* updating paranoid to verify_host_key for net-ssh for 4.2 greater and ↵Vern Burton2018-02-191-1/+1
| | | | | | | | updating gemspec. This breaks net-ssh 4.1 and lowers backwards compatibility Signed-off-by: Vern Burton <me@vernburton.com>
* Actually bump the version to 14 and dep on chef-config / ohai 14tm/branch_14Tim Smith2018-01-191-1/+1
| | | | | | Without this the kitchen tests fail as there isn't a chef-config build at ~14.0. Ohai has been bumped to 14 and the chef-config dep updated to 14. For now we have to use builds from master since we don't have a gem. I left notes that we can remove those in the future. Signed-off-by: Tim Smith <tsmith@chef.io>
* Remove lib-backcompat dir from require_pathAnatol Pomozov2017-04-221-1/+1
|
* Merge pull request #5886 from MsysTechnologiesllc/nim/windows_taskThom May2017-04-061-0/+1
|\ | | | | Adding windows_task resource
| * Adding specs for windows_task resourcenimisha2017-03-311-0/+1
| | | | | | | | Signed-off-by: nimisha <nimisha.sharad@msystechnologies.com>
* | RFC 67: Remove cookbook segmentsThom May2017-04-041-1/+1
|/ | | | | | | | | This implements RFC 67, which removes cookbook segments, and moves to a single list of all the files contained in a cookbook. This allows us to move forward with better audit modes and also proper shipping of ohai plugins. Signed-off-by: Thom May <thom@chef.io>
* drop 2.2 support + testing / bump tests to 2.4.1Lamont Granquist2017-03-281-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>