summaryrefslogtreecommitdiff
path: root/omnibus/config/projects/chef.rb
diff options
context:
space:
mode:
Diffstat (limited to 'omnibus/config/projects/chef.rb')
-rw-r--r--omnibus/config/projects/chef.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/omnibus/config/projects/chef.rb b/omnibus/config/projects/chef.rb
index a0e490ceab..10c2cd21b3 100644
--- a/omnibus/config/projects/chef.rb
+++ b/omnibus/config/projects/chef.rb
@@ -53,6 +53,16 @@ dependency "chef-complete"
package :rpm do
signing_passphrase ENV["OMNIBUS_RPM_SIGNING_PASSPHRASE"]
+
+ unless rhel? && platform_version.satisfies?("< 6")
+ compression_level 1
+ compression_type :xz
+ end
+end
+
+package :deb do
+ compression_level 1
+ compression_type :xz
end
proj_to_work_around_cleanroom = self