# File lib/puppet/network/xmlrpc/client.rb, line 158
158:     def initialize(hash = {})
159:       hash[:Path] ||= "/RPC2"
160:       hash[:Server] ||= Puppet[:server]
161:       hash[:Port] ||= Puppet[:masterport]
162:       hash[:HTTPProxyHost] ||= Puppet[:http_proxy_host]
163:       hash[:HTTPProxyPort] ||= Puppet[:http_proxy_port]
164: 
165:       if "none" == hash[:HTTPProxyHost]
166:         hash[:HTTPProxyHost] = nil
167:         hash[:HTTPProxyPort] = nil
168:       end
169: 
170: 
171:             super(
172:                 
173:         hash[:Server],
174:         hash[:Path],
175:         hash[:Port],
176:         hash[:HTTPProxyHost],
177:         hash[:HTTPProxyPort],
178:         
179:         nil, # user
180:         nil, # password
181:         true, # use_ssl
182:         Puppet[:configtimeout] # use configured timeout (#1176)
183:       )
184:       @http = Puppet::Network::HttpPool.http_instance(@host, @port)
185:     end