# File lib/puppet/configurer/fact_handler.rb, line 13
13:     def find_facts
14:         reload_facter()
15: 
16:         # This works because puppetd configures Facts to use 'facter' for
17:         # finding facts and the 'rest' terminus for caching them.  Thus, we'll
18:         # compile them and then "cache" them on the server.
19:         begin
20:             Puppet::Node::Facts.find(Puppet[:certname])
21:         rescue => detail
22:             puts detail.backtrace if Puppet[:trace]
23:             raise Puppet::Error, "Could not retrieve local facts: %s" % detail
24:         end
25:     end