| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Ruby resolves 2 CVEs: https://www.ruby-lang.org/en/news/2020/03/31/ruby-2-6-6-released/
Rake is bundled in Ruby
libarchive updated to 3.4.2 for multiple security issues including CVE-2019-19221 and CVE-2020-9308
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
I increased the pin in the gemfile since bundler didn't seem to want to pull in a 4.18 build. Note this does lower our rspec dep due to the pin in InSpec.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the implementation of [RFC-087](https://github.com/chef-boneyard/chef-rfc/blob/master/rfc087-distro-sugar-helpers.md)
although some of the specifics have been iterated on and changed.
The documentation will be in the [README.md](https://github.com/chef/chef/tree/master/chef-utils/README.md) once this is merged.
While this PR mostly moves chef-sugar utilities into core-chef via this chef-utils gem, the scope of the chef-utils gem
should be considered larger than just that. As an example this PR moves the Mash class into this gem for reuse in ohai
as well.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
| |
|
|
|
|
|
|
| |
ruby-prof 0.18 fails to load on Windows. See https://github.com/ruby-prof/ruby-prof/issues/255
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
| |
We need to add the inspec-core-bin now that the binaries aren't part of
the inspec-core gem.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
| |
These were used by our maintainer rake tasks. These are all gone now so there's no need for these gems.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
| |
issues against Bundler/DuplicatedGem not understanding if-else blocks
have been closed.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this file winds up in the embedded lib at:
/opt/chef/embedded/lib/ruby/gems/x.y.0/gems/chef-X.Y.Z/Gemfile
It needs to find the chef-bin gem from the same library, rather than
simply omitting it.
The chef-config gem comes in through the chef.gemspec so the lines are
different.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
We had to move this out of train as they were causing installation failures for inspec. This change makes sure we get them into our omnibus package.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
We now have a preview of inspec 4 out so we can switch back to gems and kill off the full train gem and all its deps.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is temporary. Once inspec 4 gem is released,
correct deps will get pulled in, and we'll be
moving chef-core to also use train-core instead of train.
In the interim in order
to get appbundler builds passing for the bootstrap branch
with a train dep from git, this needs to be merged to master. This will
ensure the train dep is included in the package used to seed
appbundler-update.
Signed-off-by: Marc A. Paradise <marc.paradise@gmail.com>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Bump to the latest and greatest Ruby
Pin Rake to 12.3.2 since that's what ships in Ruby
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
It doesn't look like we're using this anymore.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
| |
fixes #8170
gems do not ship on solaris because they do not compile
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
We install 12.3.0 from the ruby 2.5 source. This prevents us from installing both 12.3.0 and 12.3.1
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
This gets us some nice new functionality in InSpec.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
| |
Turns out if we switch to non-git chefstyle we just end up with 2 copies and that's not smaller. Keep it as git since everything else pulls it from git. This does pull in the updated definition that should slim our install by about 400k.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
|
|
|
| |
This reduces the size of the install artifact since the gem has fewer
files than the whole repo.
Signed-off-by: Tim Smith <tsmith@chef.io>
|
|
|
|
| |
Signed-off-by: Stuart Preston <stuart@chef.io>
|
|
|
|
| |
Signed-off-by: Stuart Preston <stuart@chef.io>
|
|
|
|
| |
Signed-off-by: Stuart Preston <stuart@chef.io>
|
|
|
|
| |
Signed-off-by: Stuart Preston <stuart@chef.io>
|
|
|
|
|
|
|
|
|
| |
Switches to inspec-core, bumps ffi gem to newest release and bumps
other deps.
closes #7236
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Jared Quick <jquick@chef.io>
|
|
|
|
| |
Signed-off-by: Thom May <thom@chef.io>
|
|
|
|
| |
Signed-off-by: Thom May <thom@chef.io>
|
|
|
|
|
|
| |
meaning that we can have inheritable metadata
Signed-off-by: Thom May <thom@chef.io>
|
|
|
|
|
|
| |
already working for kitchen-appbundle-updater in travis
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
|
|
|
| |
Seems pointless when we pin the version in Gemfile.lock and
I'm not even sure we need this now with GH's alerts.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
|
|
|
|
| |
Signed-off-by: Thom May <thom@chef.io>
|
|
|
|
| |
Signed-off-by: Thom May <thom@chef.io>
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Thom May <thom@chef.io>
|