Skip to content

Commit 64c56db

Browse files
committed
Move chef/ohai dep into a chef group so it can be excluded
1 parent 6912ca0 commit 64c56db

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
@@ -21,12 +21,14 @@ group :style do
2121
gem "cookstyle", "~> 8.2"
2222
end
2323

24-
if ENV["GEMFILE_MOD"]
25-
puts "GEMFILE_MOD: #{ENV["GEMFILE_MOD"]}"
26-
instance_eval(ENV["GEMFILE_MOD"])
27-
else
28-
gem "chef", "~> 18.7"
29-
gem "ohai", "~> 18.1"
24+
group :chef do
25+
if ENV["GEMFILE_MOD"]
26+
puts "GEMFILE_MOD: #{ENV["GEMFILE_MOD"]}"
27+
instance_eval(ENV["GEMFILE_MOD"])
28+
else
29+
gem "chef", "~> 18.7"
30+
gem "ohai", "~> 18.1"
31+
end
3032
end
3133

3234
group :debug do

0 commit comments

Comments
 (0)