Page MenuHomePhabricator
Paste P8772

puppet4.8 with ruby > 2.3 - NoMethodError: undefined method `<<' for nil:NilClass
ActivePublic

Authored by jbond on Jul 18 2019, 10:09 AM.
--- /tmp/monkey_patches.rb 2019-07-18 11:07:55.727483702 +0100
+++ /home/jbond/git/puppet/vendor/bundle/ruby/2.5.0/gems/puppet-4.8.2/lib/puppet/util/monkey_patches.rb 2019-07-18 11:08:20.187516818 +0100
@@ -101,7 +101,9 @@
else
DEFAULT_PARAMS[:options] = OpenSSL::SSL::OP_NO_SSLv2 | OpenSSL::SSL::OP_NO_SSLv3
end
- DEFAULT_PARAMS[:ciphers] << ':!SSLv2'
+ if DEFAULT_PARAMS[:ciphers]
+ DEFAULT_PARAMS[:ciphers] << ':!SSLv2'
+ end
alias __original_initialize initialize
private :__original_initialize
git/puppet [