diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-06-30 12:47:44 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-06-30 12:50:55 -0700 |
commit | fb05da27685474ebcad1c12fe30dec452a979e65 (patch) | |
tree | bd002bb43a2984ff4fa28bb593ac6c88aa0465fb | |
parent | 4b01b50f543e58658526bf9a803aad62bad711f0 (diff) | |
download | chef-fb05da27685474ebcad1c12fe30dec452a979e65.tar.gz |
Update Ohai to 16.2.3 and update some comments in omnibus
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | Gemfile.lock | 4 | ||||
-rw-r--r-- | omnibus/README.md | 7 | ||||
-rw-r--r-- | omnibus/config/software/more-ruby-cleanup.rb | 11 | ||||
-rw-r--r-- | omnibus/files/openssl-customization/windows/ssl_env_hack.rb | 4 | ||||
-rw-r--r-- | omnibus/omnibus.rb | 2 |
5 files changed, 17 insertions, 11 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index 2f79ce41d2..5b582a66a3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,10 +8,10 @@ GIT GIT remote: https://github.com/chef/ohai.git - revision: 3c77e1ac8753552818ed2045bc17e6971fb86720 + revision: 6a5391298d6fa2f2c2e8fa9a09c31f33a1497ae0 branch: master specs: - ohai (16.2.2) + ohai (16.2.3) chef-config (>= 12.8, < 17) chef-utils (>= 16.0, < 17) ffi (~> 1.9) diff --git a/omnibus/README.md b/omnibus/README.md index 6e49f091a5..a10190c136 100644 --- a/omnibus/README.md +++ b/omnibus/README.md @@ -1,17 +1,16 @@ -# Client Tools Omnibus project +# Chef Infra Client Omnibus project This project creates full-stack platform-specific packages for the following projects: - AngryChef - Chef -- Chef with FIPS enabled ## Installation You must have a sane Ruby environment with Bundler installed. Ensure all the required gems are installed: ```shell -$ bundle install --without development +bundle install --without development ``` ## Usage @@ -117,7 +116,7 @@ For a complete list of all commands and platforms, run `kitchen list` or `kitche ## License ```text -Copyright 2012-2018, Chef Software, Inc. +Copyright:: Chef Software, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/omnibus/config/software/more-ruby-cleanup.rb b/omnibus/config/software/more-ruby-cleanup.rb index f5af0501cd..f83e210512 100644 --- a/omnibus/config/software/more-ruby-cleanup.rb +++ b/omnibus/config/software/more-ruby-cleanup.rb @@ -24,6 +24,8 @@ license :project_license source path: "#{project.files_path}/#{name}" +dependency "ruby" + build do block "Removing console and setup binaries" do Dir.glob("#{install_dir}/embedded/lib/ruby/gems/*/gems/*/bin/{console,setup}").each do |f| @@ -31,9 +33,14 @@ build do FileUtils.rm_rf(f) end end -end -build do + block "remove any .gitkeep files" do + Dir.glob("#{install_dir}/**/{.gitkeep,.keep}").each do |f| + puts "Deleting #{f}" + File.delete(f) + end + end + block "Removing additional non-code files from installed gems" do # find the embedded ruby gems dir and clean it up for globbing target_dir = "#{install_dir}/embedded/lib/ruby/gems/*/gems".tr('\\', "/") diff --git a/omnibus/files/openssl-customization/windows/ssl_env_hack.rb b/omnibus/files/openssl-customization/windows/ssl_env_hack.rb index eaa5949f2d..b86c17db82 100644 --- a/omnibus/files/openssl-customization/windows/ssl_env_hack.rb +++ b/omnibus/files/openssl-customization/windows/ssl_env_hack.rb @@ -16,8 +16,8 @@ # # This script sets the SSL_CERT_FILE environment variable to the CA cert bundle -# that ships with omnibus packages of Chef and Chef DK. If this environment -# variable is already configured, this script is a no-op. +# that ships with omnibus packages of Chef Infra Client and Chef Workstation. If +# this environment variable is already configured, this script is a no-op. # # This is required to make Chef tools use https URLs out of the box. diff --git a/omnibus/omnibus.rb b/omnibus/omnibus.rb index e839174138..ef3e944d96 100644 --- a/omnibus/omnibus.rb +++ b/omnibus/omnibus.rb @@ -1,5 +1,5 @@ # -# This file is used to configure the Omnibus projects in this repo. It contains +# This file is used to configure the chef infra client project. It contains # some minimal configuration examples for working with Omnibus. For a full list # of configurable options, please see the documentation for +omnibus/config.rb+. # |