Skip to content

Commit

Permalink
(maint) Merge up 0554b5d to main
Browse files Browse the repository at this point in the history
Generated by CI

* commit '0554b5d37578be478d137d3e48b26104e1324b62':
  (PUP-11947) Pin FFI to 1.15.5
  (PUP-11930) log openssl version
  • Loading branch information
puppetlabs-jenkins committed Sep 28, 2023
2 parents b99d238 + 0554b5d commit 3c2306b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ group(:features) do
end

group(:test) do
gem "ffi", require: false
gem "ffi", '1.15.5', require: false
gem "json-schema", "~> 2.0", require: false
gem "rake", *location_for(ENV['RAKE_LOCATION'] || '~> 13.0')
gem "rspec", "~> 3.1", require: false
Expand Down
4 changes: 2 additions & 2 deletions ext/project_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ gem_platform_dependencies:
CFPropertyList: '~> 2.2'
x86-mingw32:
gem_runtime_dependencies:
ffi: ['> 1.9.24', '< 2']
ffi: '1.15.5'
minitar: '~> 0.9'
x64-mingw32:
gem_runtime_dependencies:
ffi: ['> 1.9.24', '< 2']
ffi: '1.15.5'
minitar: '~> 0.9'
bundle_platforms:
universal-darwin: all
Expand Down
6 changes: 5 additions & 1 deletion lib/puppet/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -504,8 +504,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 3c2306b

Please sign in to comment.