diff options
| author | Luke Kanies <luke@madstop.com> | 2007-11-23 19:22:23 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2007-11-23 19:22:23 -0600 |
| commit | 035fa38bf27719450f4e731c45910aebfbed9529 (patch) | |
| tree | b6dcb4cb9a4f002d6a7dc09586547cb76c3b258a /lib/puppet/network/xmlrpc | |
| parent | 63b205a55a73ebf70275bf9c0ec77c51a24026f9 (diff) | |
| download | puppet-035fa38bf27719450f4e731c45910aebfbed9529.tar.gz puppet-035fa38bf27719450f4e731c45910aebfbed9529.tar.xz puppet-035fa38bf27719450f4e731c45910aebfbed9529.zip | |
Adding patch 20070905004837-6856b-2e7b8d8595ee0883537620c46424a4bf6174dc6a.patch from womble -- Add an attr_accessor for @http#ca_file, since older versions of libopenssl-ruby only provides ca_file=, not ca_file
Diffstat (limited to 'lib/puppet/network/xmlrpc')
| -rw-r--r-- | lib/puppet/network/xmlrpc/client.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/network/xmlrpc/client.rb b/lib/puppet/network/xmlrpc/client.rb index ab4117b0e..790a257bb 100644 --- a/lib/puppet/network/xmlrpc/client.rb +++ b/lib/puppet/network/xmlrpc/client.rb @@ -87,6 +87,10 @@ module Puppet::Network "Could not find ca certificate %s" % Puppet[:localcacert] end + # Pop open @http a little; older versions of Net::HTTP(s) didn't + # give us a reader for ca_file... Grr... + class << @http; attr_accessor :ca_file; end + # Don't want to overwrite certificates, @http will freeze itself # once started. unless @http.ca_file |
