We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3b65bc7 + b4e6b0a commit e12d980Copy full SHA for e12d980
setup/common/012_Finalize_Installs.rb
@@ -21,5 +21,13 @@
21
end
22
23
step 'Configure gem mirror' do
24
- configure_gem_mirror(hosts)
+ # Skip if RELEASE_STREAM is 'puppet9' and platform is aix or solaris
25
+ # Issue with Rubygems's SafeMarshal see: PA-8312
26
+ release_stream = ENV.fetch('RELEASE_STREAM')
27
+ skip_platforms = /aix|solaris/i
28
+ if release_stream == 'puppet9' && hosts.any? { |host| host['platform'] =~ skip_platforms }
29
+ logger.info 'Skipping configure_gem_mirror for puppet9 on aix/solaris, issue with rubygems 4.0'
30
+ else
31
+ configure_gem_mirror(hosts)
32
+ end
33
0 commit comments