# File lib/puppet/configurer/fact_handler.rb, line 28
28:   def facts_for_uploading
29:     facts = find_facts
30:     #format = facts.class.default_format
31: 
32:     if facts.support_format?(:b64_zlib_yaml)
33:       format = :b64_zlib_yaml
34:     else
35:       format = :yaml
36:     end
37: 
38:     text = facts.render(format)
39: 
40:     {:facts_format => format, :facts => CGI.escape(text)}
41:   end