# File lib/puppet/network/handler/master.rb, line 78 78: def decode_facts(facts) 79: if @local 80: # we don't need to do anything, since we should already 81: # have raw objects 82: Puppet.debug "Our client is local" 83: else 84: Puppet.debug "Our client is remote" 85: 86: begin 87: facts = YAML.load(CGI.unescape(facts)) 88: rescue => detail 89: raise XMLRPC::FaultException.new( 90: 1, "Could not rebuild facts" 91: ) 92: end 93: end 94: 95: return facts 96: end