summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-04-26 15:22:41 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2018-04-26 15:22:41 -0700
commit0fb75cea1cb78d2f8050320f9aca4c35ea1c45f4 (patch)
treee8981efe5d9ebc83d4390d2446c99ce5182b4665
parent7163130cb1209a9565d6137f3e3e6f1eacc94e0f (diff)
downloadchef-0fb75cea1cb78d2f8050320f9aca4c35ea1c45f4.tar.gz
pin ffi to avoid el6/el7 bugginess
absolutely unknown what this bug is, but it seems to fix specs on el6/el7 Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--chef.gemspec2
1 files changed, 2 insertions, 0 deletions
diff --git a/chef.gemspec b/chef.gemspec
index b829d96e22..63e4192652 100644
--- a/chef.gemspec
+++ b/chef.gemspec
@@ -24,6 +24,8 @@ Gem::Specification.new do |s|
s.add_dependency "mixlib-archive", "~> 0.4"
s.add_dependency "ohai", "~> 14.0"
+ # ffi 1.9.22+1.9.23 are buggy in our spec/unit/application/client_spec.rb tests on el6/el7
+ s.add_dependency "ffi", "< 1.9.22"
s.add_dependency "ffi-yajl", "~> 2.2"
s.add_dependency "net-ssh", "~> 4.2"
s.add_dependency "net-ssh-multi", "~> 1.2", ">= 1.2.1"