diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2016-01-21 18:37:34 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2016-01-25 09:52:41 -0800 |
commit | 64c2dd07e01fae18aac742dd01dee5c8c996954f (patch) | |
tree | 7f1c7061a5535fc6bdb8486a317d635ee0c2b521 /lib/chef | |
parent | 701410038fc9f5abc5383843495671461a7490b2 (diff) | |
download | chef-64c2dd07e01fae18aac742dd01dee5c8c996954f.tar.gz |
Add fips mode line to Starting chef client run
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/formatters/doc.rb | 3 | ||||
-rw-r--r-- | lib/chef/formatters/minimal.rb | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/chef/formatters/doc.rb b/lib/chef/formatters/doc.rb index 5510956754..901caa92cf 100644 --- a/lib/chef/formatters/doc.rb +++ b/lib/chef/formatters/doc.rb @@ -42,7 +42,8 @@ class Chef end def run_start(version) - puts_line "Starting Chef Client, version #{version}" + puts_line "Starting Chef Client#{" (FIPS mode)" if Chef::Config[:openssl_fips]}" \ + ", version #{version}" end def total_resources diff --git a/lib/chef/formatters/minimal.rb b/lib/chef/formatters/minimal.rb index 2e32968b4b..baf0273103 100644 --- a/lib/chef/formatters/minimal.rb +++ b/lib/chef/formatters/minimal.rb @@ -29,7 +29,8 @@ class Chef # Called at the very start of a Chef Run def run_start(version) - puts "Starting Chef Client, version #{version}" + puts_line "Starting Chef Client#{" (FIPS mode)" if Chef::Config[:openssl_fips]}" \ + ", version #{version}" end # Called at the end of the Chef run. |