Skip to content

Commit 0d91d4b

Browse files
committed
Move chef/ohai dep into a chef group so it can be excluded
1 parent 78031ba commit 0d91d4b

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

Gemfile

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ group :development, :test do
1414
gem "rspec", "~> 3.0"
1515
end
1616

17-
if ENV["GEMFILE_MOD"]
18-
puts "GEMFILE_MOD: #{ENV["GEMFILE_MOD"]}"
19-
instance_eval(ENV["GEMFILE_MOD"])
20-
else
21-
gem "chef", "~> 14.0"
22-
gem "ohai", "~> 14.0"
17+
group :chef do
18+
if ENV["GEMFILE_MOD"]
19+
puts "GEMFILE_MOD: #{ENV['GEMFILE_MOD']}"
20+
instance_eval(ENV["GEMFILE_MOD"])
21+
else
22+
gem "chef", "~> 14.0"
23+
gem "ohai", "~> 14.0"
24+
end
2325
end
2426

2527
group :debug do

0 commit comments

Comments
 (0)