From 2733e13283ff88713428abeb487df489071d98fc Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 14 Sep 2017 14:07:29 -0700 Subject: [PATCH] Be more selective about what dev gems we bundle `berkshelf` no longer has a guard group in the gemfile so remove that exclusion `chef` no longer has a changelog group so remove that exclusion `foodcritic` has no changelog group, but it does have a development group: ronn, pry `test-kitchen` (master currently) has a debug group and a docs group: yard, pry, pry-byebug, and pry-stack_explorer `inspec` no longer has a changelog group, but it does have deploy, tools, and maintenance groups: pry, rb-readline, license_finder, tomlrb, octokit, netrc, and inquirer Signed-off-by: Tim Smith --- omnibus/config/software/chef-dk.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/omnibus/config/software/chef-dk.rb b/omnibus/config/software/chef-dk.rb index e16b486fb..6b24c89f2 100644 --- a/omnibus/config/software/chef-dk.rb +++ b/omnibus/config/software/chef-dk.rb @@ -57,10 +57,12 @@ env["NOKOGIRI_USE_SYSTEM_LIBRARIES"] = "true" - appbundle "berkshelf", lockdir: project_dir, without: %w{guard changelog}, env: env - appbundle "chef", lockdir: project_dir, without: %w{changelog integration docgen maintenance ci travis}, env: env + appbundle "chef", lockdir: project_dir, without: %w{integration docgen maintenance ci travis}, env: env + appbundle "foodcritic", lockdir: project_dir, without: %w{development}, env: env + appbundle "test-kitchen", lockdir: project_dir, without: %w{changelog debug docs}, env: env + appbundle "inspec", lockdir: project_dir, without: %w{deploy tools maintenance}, env: env - %w{chef-dk chef-vault foodcritic ohai test-kitchen opscode-pushy-client cookstyle inspec dco}.each do |gem| + %w{chef-dk chef-vault ohai opscode-pushy-client cookstyle dco berkshelf}.each do |gem| appbundle gem, lockdir: project_dir, without: %w{changelog}, env: env end