diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2017-07-10 10:05:18 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2017-07-10 10:05:18 -0700 |
commit | 2a67b968b2506e559927b53e8904d4f76770376a (patch) | |
tree | 5ee4374cdbd787549351c03ffca65bb10378957c | |
parent | b132e0a58478043605433fa2ccf8c4e7f090c8ec (diff) | |
download | chef-2a67b968b2506e559927b53e8904d4f76770376a.tar.gz |
move nokogiri config to omnibus
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>
-rw-r--r-- | Gemfile | 1 | ||||
-rw-r--r-- | omnibus/config/projects/chef.rb | 3 | ||||
-rw-r--r-- | omnibus_overrides.rb | 1 |
3 files changed, 4 insertions, 1 deletions
@@ -16,7 +16,6 @@ group(:omnibus_package) do gem "appbundler" gem "rb-readline" gem "inspec" - gem "nokogiri", ">= 1.8" end group(:omnibus_package, :pry) do diff --git a/omnibus/config/projects/chef.rb b/omnibus/config/projects/chef.rb index 2342a7e186..751b7b342a 100644 --- a/omnibus/config/projects/chef.rb +++ b/omnibus/config/projects/chef.rb @@ -48,6 +48,9 @@ instance_eval(IO.read(overrides_path), overrides_path) dependency "preparation" dependency "chef" +# Nokogiri is an addon-extra we bundle and not a direct dep of chef itself +dependency "nokogiri" + # FIXME?: might make sense to move dependencies below into the omnibus-software chef # definition or into a chef-complete definition added to omnibus-software. dependency "gem-permissions" diff --git a/omnibus_overrides.rb b/omnibus_overrides.rb index 552c2b9822..41d1fb1c9a 100644 --- a/omnibus_overrides.rb +++ b/omnibus_overrides.rb @@ -3,6 +3,7 @@ # try to keep it machine-parsable. override :rubygems, version: "2.6.11" override :bundler, version: "1.14.6" +override "nokogiri", version: "1.8.0" override "libffi", version: "3.2.1" override "libiconv", version: "1.14" override "liblzma", version: "5.2.3" |