summaryrefslogtreecommitdiff
path: root/Gemfile
Commit message (Collapse)AuthorAgeFilesLines
* Update ruby_prof to 1.0profTim Smith2019-12-041-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Update InSpec to 4.18Tim Smith2019-11-141-2/+2
| | | | | | 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>
* Add chef-utils gem with various recipe DSL helpersLamont Granquist2019-11-081-0/+2
| | | | | | | | | | | | | 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>
* don't use string interpolation for eval_gemfileLamont Granquist2019-10-171-1/+1
|
* Pin to ruby-prof 0.17Tim Smith2019-06-241-1/+1
| | | | | | 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>
* Make sure to ship the inspec binaryinspec-binTim Smith2019-06-131-0/+1
| | | | | | | 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>
* Update InSpec to 4.3.2Tim Smith2019-05-031-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* add a group for chefstyle so it can be excludedlcg/chefstyle-groupLamont Granquist2019-05-011-0/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Remove old maintainer gems from the Gemfilenuke_old_gemsTim Smith2019-05-011-8/+0
| | | | | | 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>
* rubocop Bundler/DuplicatedGem is annoyinglcg/fix-bundling-in-omnibusLamont Granquist2019-04-301-2/+4
| | | | | | | issues against Bundler/DuplicatedGem not understanding if-else blocks have been closed. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix chef-bin bundling in omnibusLamont Granquist2019-04-301-1/+7
| | | | | | | | | | | | | | 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>
* Remove chef-* binstubs from chef gemLamont Granquist2019-04-291-0/+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>
* Chefstyle fixTim Smith2019-04-231-2/+2
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Move ed25519 gems into omnibused25519Tim Smith2019-04-231-0/+2
| | | | | | 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>
* Switch to inspec/train from gemsTim Smith2019-04-221-3/+1
| | | | | | 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>
* Add train from gitmp/add-train-to-omnibus-packageMarc A. Paradise2019-04-201-0/+1
| | | | | | | | | | | | | | 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>
* Pull train from master againTim Smith2019-04-191-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Pull train from my branchTim Smith2019-04-191-1/+2
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* Bump highline and net-ssh pins and pull inspec from gitTim Smith2019-04-191-1/+1
| | | | | | | | 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>
* Install Ruby 2.6.2Tim Smith2019-04-011-1/+2
| | | | | | | 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>
* Remove the travis gem from our gemfileTim Smith2019-03-191-4/+0
| | | | | | It doesn't look like we're using this anymore. Signed-off-by: Tim Smith <tsmith@chef.io>
* WIP: Remove audit mode from chef-clientTim Smith2019-03-111-0/+4
| | | | | | | | 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>
* rollback rbnaclLamont Granquist2019-02-261-6/+0
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* pin rbnacl to 5.xLamont Granquist2019-02-211-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* add ed25519 gemset and update ominbus-softwareLamont Granquist2019-02-071-0/+6
| | | | | | | | fixes #8170 gems do not ship on solaris because they do not compile Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Pull ohai from github so we can relax the chef-config depTim Smith2018-10-261-0/+3
| | | | | | | | 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>
* Pin rake to 12.3.0 to prevent installing 2 copies in our installTim Smith2018-10-251-1/+4
| | | | | | 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>
* Update InSpec to 3.0Tim Smith2018-10-241-1/+1
| | | | | | This gets us some nice new functionality in InSpec. Signed-off-by: Tim Smith <tsmith@chef.io>
* Switch back to chefstyle from git and use the updated chef omnibus defTim Smith2018-10-241-1/+1
| | | | | | 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>
* Use the Chefstyle gemchefstyle_gemTim Smith2018-10-241-2/+1
| | | | | | | 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>
* Quiet down bundle install/bundle exec messages on Windows [skip ci]Stuart Preston2018-07-041-1/+1
| | | | Signed-off-by: Stuart Preston <stuart@chef.io>
* Feed chefstylesp/ffi-powershellStuart Preston2018-06-271-2/+2
| | | | Signed-off-by: Stuart Preston <stuart@chef.io>
* Only copy dlls to target location once on bundle installStuart Preston2018-06-271-1/+2
| | | | Signed-off-by: Stuart Preston <stuart@chef.io>
* Move bindir copy logic into Gemfile to be used by BundlerStuart Preston2018-06-231-0/+14
| | | | Signed-off-by: Stuart Preston <stuart@chef.io>
* Use inspec-core, new ffi gem, and bump depslcg/inspec-core-ffi-and-bumpLamont Granquist2018-06-041-6/+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>
* Force unf_ext to 0.0.7.6 in Gemfile.Jared Quick2018-03-261-0/+5
| | | | Signed-off-by: Jared Quick <jquick@chef.io>
* Ship InSpec 2Thom May2018-03-241-1/+1
| | | | Signed-off-by: Thom May <thom@chef.io>
* remove bundle audittm/remove_bundle_auditThom May2018-03-201-2/+0
| | | | Signed-off-by: Thom May <thom@chef.io>
* Add the ability to inject log objectstm/inject_logThom May2018-03-191-4/+1
| | | | | | meaning that we can have inheritable metadata Signed-off-by: Thom May <thom@chef.io>
* use appbundler 0.11.1 for omnibus buildsLamont Granquist2018-03-011-1/+1
| | | | | | already working for kitchen-appbundle-updater in travis Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Remove git ref on bundler-auditLamont Granquist2018-02-281-1/+1
| | | | | | | 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>
* Revert appbundler to 0.10.0Lamont Granquist2018-02-281-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* chefstyle/omnibus-software/omnibus back to masterLamont Granquist2018-02-281-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* lock inspec to 1.xtm/bump_depsThom May2018-02-281-1/+1
| | | | Signed-off-by: Thom May <thom@chef.io>
* bump omnibus depsThom May2018-02-281-1/+1
| | | | Signed-off-by: Thom May <thom@chef.io>
* Actually bump the version to 14 and dep on chef-config / ohai 14tm/branch_14Tim Smith2018-01-191-1/+2
| | | | | | 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>
* Ship chef-vault in the omnibus packagetm/chef_vaultThom May2017-08-311-0/+1
| | | | Signed-off-by: Thom May <thom@chef.io>
* Update Expeditor config to use new Merge and Artifact Actionstduffield/use-new-artifact-actionsTom Duffield2017-07-241-6/+1
| | | | | | | | | | Chef Expeditor now supports built in merge and artifact actions which allow us to reduce the burden of duplicating common processes across all our repositories. This change introduces several of these built_in functions, replacing functionality that was previously kept in our Rakefile. Signed-off-by: Tom Duffield <tom@chef.io>
* fix retries on JSON POST requests when negotiating protocol versionLamont Granquist2017-07-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | on the first pass through the JSON middleware it encodes the body. if there's a retry, it re-encodes the body as a string with all its metacharacters escaped. this is a particular issue when doing a first request that is a POST that requires negotiating the API version. when doing a GET it isn't a problem because there's no body payload -- but a POST or a PUT which requires a retry will get garbled and will cause a 500. this happens on hosted right now if trying to POST with a v2 API since hosted is only v1, so there's a retry to downgrade. i also made the same kind of changes to the streaming download requests, but since they're GETs its unclear to me if there was any impact there -- but middleware could have been double-mangling headers on a retry. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* move nokogiri config to omnibusLamont Granquist2017-07-101-1/+0
| | | | | | | | | this hand-builds it with the software dep, and its not a direct dep of chef itself and shouldn't be in the Gemfile.lock anyway, plus we need to pin via omnibus_overrides.rb and double-pinning in the Gemfile.lock is just added fussiness Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>