diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-08-23 20:11:07 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-08-24 15:14:26 -0700 |
commit | 45d2aa597fcdd8f83719e8ed970a4752bfe9c519 (patch) | |
tree | 9783b647a76a386804c92245b91a075b7bf2c7ef | |
parent | 5ee572cba32626314f1be09a3cf74370a046298c (diff) | |
download | chef-45d2aa597fcdd8f83719e8ed970a4752bfe9c519.tar.gz |
Add line that we're starting Infra Phase
Make it clear which parts of the run are which for the future
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/formatters/doc.rb | 5 | ||||
-rw-r--r-- | lib/chef/formatters/minimal.rb | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/chef/formatters/doc.rb b/lib/chef/formatters/doc.rb index a739889022..a5a742d2f0 100644 --- a/lib/chef/formatters/doc.rb +++ b/lib/chef/formatters/doc.rb @@ -41,10 +41,11 @@ class Chef end def run_start(version, run_status) - puts_line "Starting #{ChefUtils::Dist::Infra::PRODUCT}, version #{version}" + puts_line "#{ChefUtils::Dist::Infra::PRODUCT}, version #{version}" puts_line "Patents: #{ChefUtils::Dist::Org::PATENTS}" - puts_line "Targeting node: #{Chef::Config.target_mode.host}" if Chef::Config.target_mode? puts_line "OpenSSL FIPS 140 mode enabled" if Chef::Config[:fips] + puts_line "Starting Infra Phase" + puts_line "Targeting node: #{Chef::Config.target_mode.host}" if Chef::Config.target_mode? end def total_resources diff --git a/lib/chef/formatters/minimal.rb b/lib/chef/formatters/minimal.rb index 123640b03f..938c2e7a91 100644 --- a/lib/chef/formatters/minimal.rb +++ b/lib/chef/formatters/minimal.rb @@ -28,10 +28,11 @@ class Chef # Called at the very start of a Chef Run def run_start(version, run_status) - puts_line "Starting #{ChefUtils::Dist::Infra::PRODUCT}, version #{version}" + puts_line "#{ChefUtils::Dist::Infra::PRODUCT}, version #{version}" puts_line "Patents: #{ChefUtils::Dist::Org::PATENTS}" - puts_line "Targeting node: #{Chef::Config.target_mode.host}" if Chef::Config.target_mode? puts_line "OpenSSL FIPS 140 mode enabled" if Chef::Config[:fips] + puts_line "Starting Infra Phase" + puts_line "Targeting node: #{Chef::Config.target_mode.host}" if Chef::Config.target_mode? end # Called at the end of the Chef run. |