We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8004d4c + 95ec780 commit 0554b5dCopy full SHA for 0554b5d
lib/puppet/application.rb
@@ -503,8 +503,12 @@ def log_runtime_environment(extra_info=nil)
503
runtime_info = {
504
'puppet_version' => Puppet.version,
505
'ruby_version' => RUBY_VERSION,
506
- 'run_mode' => self.class.run_mode.name,
+ 'run_mode' => self.class.run_mode.name
507
}
508
+ unless Puppet::Util::Platform.jruby_fips?
509
+ runtime_info['openssl_version'] = "'#{OpenSSL::OPENSSL_VERSION}'"
510
+ runtime_info['openssl_fips'] = OpenSSL::OPENSSL_FIPS
511
+ end
512
runtime_info['default_encoding'] = Encoding.default_external
513
runtime_info.merge!(extra_info) unless extra_info.nil?
514
0 commit comments