Skip to content

Commit fa08e68

Browse files
committed
Move chef/ohai dep into a chef group so it can be excluded
1 parent 1063dc2 commit fa08e68

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
@@ -16,12 +16,14 @@ group :development, :test do
1616
gem "rspec", "~> 3.0"
1717
end
1818

19-
if ENV["GEMFILE_MOD"]
20-
puts "GEMFILE_MOD: #{ENV["GEMFILE_MOD"]}"
21-
instance_eval(ENV["GEMFILE_MOD"])
22-
else
23-
gem "chef", "~> 18.6"
24-
gem "ohai", "~> 18.0"
19+
group :chef do
20+
if ENV["GEMFILE_MOD"]
21+
puts "GEMFILE_MOD: #{ENV['GEMFILE_MOD']}"
22+
instance_eval(ENV["GEMFILE_MOD"])
23+
else
24+
gem "chef", "~> 18.6"
25+
gem "ohai", "~> 18.0"
26+
end
2527
end
2628

2729
group :debug do

0 commit comments

Comments
 (0)