summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2017-07-10 10:05:18 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2017-07-10 10:05:18 -0700
commit2a67b968b2506e559927b53e8904d4f76770376a (patch)
tree5ee4374cdbd787549351c03ffca65bb10378957c
parentb132e0a58478043605433fa2ccf8c4e7f090c8ec (diff)
downloadchef-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--Gemfile1
-rw-r--r--omnibus/config/projects/chef.rb3
-rw-r--r--omnibus_overrides.rb1
3 files changed, 4 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 9f5aa6bdb0..7ce6a9c57d 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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"