Skip to content

Commit

Permalink
Merge pull request #9108 from joshcooper/log_openssl_version
Browse files Browse the repository at this point in the history
(PUP-11930) log openssl version
  • Loading branch information
mhashizume authored Sep 27, 2023
2 parents 8004d4c + 95ec780 commit 0554b5d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/puppet/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,12 @@ def log_runtime_environment(extra_info=nil)
runtime_info = {
'puppet_version' => Puppet.version,
'ruby_version' => RUBY_VERSION,
'run_mode' => self.class.run_mode.name,
'run_mode' => self.class.run_mode.name
}
unless Puppet::Util::Platform.jruby_fips?
runtime_info['openssl_version'] = "'#{OpenSSL::OPENSSL_VERSION}'"
runtime_info['openssl_fips'] = OpenSSL::OPENSSL_FIPS
end
runtime_info['default_encoding'] = Encoding.default_external
runtime_info.merge!(extra_info) unless extra_info.nil?

Expand Down

0 comments on commit 0554b5d

Please sign in to comment.