# File lib/puppet/configurer/fact_handler.rb, line 27
27:     def facts_for_uploading
28:         facts = find_facts
29:         #format = facts.class.default_format
30: 
31:         # Hard-code yaml, because I couldn't get marshal to work.
32:         format = :b64_zlib_yaml
33: 
34:         text = facts.render(format)
35: 
36:         return {:facts_format => :b64_zlib_yaml, :facts => CGI.escape(text)}
37:     end