summaryrefslogtreecommitdiff
path: root/chef.gemspec
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-04-13 11:42:12 -0700
committerTim Smith <tsmith84@gmail.com>2020-04-13 11:42:12 -0700
commit6f6bf4854f88496722509b9df1dd3e65532dbf34 (patch)
tree752573467477d413774fadde9ee16ac3d30e15fb /chef.gemspec
parent58c4cc25116f30f9901d0fab296a066a0ce843ca (diff)
downloadchef-6f6bf4854f88496722509b9df1dd3e65532dbf34.tar.gz
Require at least train-core 3.2.28 to resolve sudo issues
Make sure that even a gem install of chef will work correctly here. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'chef.gemspec')
-rw-r--r--chef.gemspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef.gemspec b/chef.gemspec
index 0bdd455ab5..ee7ba80460 100644
--- a/chef.gemspec
+++ b/chef.gemspec
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
s.add_dependency "chef-config", "= #{Chef::VERSION}"
s.add_dependency "chef-utils", "= #{Chef::VERSION}"
- s.add_dependency "train-core", "~> 3.1"
+ s.add_dependency "train-core", "~> 3.2", ">= 3.2.28" # 3.2.28 fixes sudo prompts. See https://github.com/chef/chef/pull/9635
s.add_dependency "train-winrm", ">= 0.2.5"
s.add_dependency "license-acceptance", "~> 1.0", ">= 1.0.5"