From 1e509fe3c883b933ad7feb9744a96abeaa02e307 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 5 Oct 2018 10:20:00 -0700 Subject: Add chef-cleanup omnibus-software defn reduces the size of the installed omnibus package from 191 MB to 132 MB Signed-off-by: Lamont Granquist --- omnibus/Gemfile.lock | 14 +++++++------- omnibus/config/projects/chef.rb | 2 ++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/omnibus/Gemfile.lock b/omnibus/Gemfile.lock index 1abb83416f..1359436f7a 100644 --- a/omnibus/Gemfile.lock +++ b/omnibus/Gemfile.lock @@ -18,7 +18,7 @@ GIT GIT remote: https://github.com/chef/omnibus-software - revision: 8773058b6cafc053159bbe24851bc7eeb407d492 + revision: 67a458d2e8a55b267fe0b47f6e1ec9c01e097137 branch: master specs: omnibus-software (4.0.0) @@ -31,13 +31,13 @@ GEM addressable (2.5.2) public_suffix (>= 2.0.2, < 4.0) awesome_print (1.8.0) - aws-sdk (2.11.137) - aws-sdk-resources (= 2.11.137) - aws-sdk-core (2.11.137) + aws-sdk (2.11.144) + aws-sdk-resources (= 2.11.144) + aws-sdk-core (2.11.144) aws-sigv4 (~> 1.0) jmespath (~> 1.0) - aws-sdk-resources (2.11.137) - aws-sdk-core (= 2.11.137) + aws-sdk-resources (2.11.144) + aws-sdk-core (= 2.11.144) aws-sigv4 (1.0.3) berkshelf (7.0.6) chef (>= 13.6.52) @@ -174,7 +174,7 @@ GEM kitchen-vagrant (1.3.4) test-kitchen (~> 1.4) libyajl2 (1.2.0) - license_scout (1.0.15) + license_scout (1.0.16) ffi-yajl (~> 2.2) mixlib-shellout (~> 2.2) toml-rb (~> 1.0) diff --git a/omnibus/config/projects/chef.rb b/omnibus/config/projects/chef.rb index 7c90725d95..78301b59b5 100644 --- a/omnibus/config/projects/chef.rb +++ b/omnibus/config/projects/chef.rb @@ -68,6 +68,8 @@ if windows? dependency "ruby-windows-devkit-bash" end +dependency "chef-cleanup" + package :rpm do signing_passphrase ENV["OMNIBUS_RPM_SIGNING_PASSPHRASE"] compression_level 1 -- cgit v1.2.1