Skip to content

(PUP-10604) Guard against JRuby FIPS #8319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/puppet/provider/package/puppetserver_gem.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
require 'rubygems/commands/list_command'
unless Puppet::Util::Platform.jruby_fips?
require 'rubygems/commands/list_command'
end
require 'stringio'
require 'uri'

Expand All @@ -15,6 +17,8 @@
has_feature :versionable, :install_options, :uninstall_options

confine :feature => :hocon
# see SERVER-2578
confine :fips_enabled => false

# Define the default provider package command name, as the parent 'gem' provider is targetable.
# Required by Puppet::Provider::Package::Targetable::resource_or_provider_command
Expand Down