# File lib/puppet/configurer/fact_handler.rb, line 56 56: def reload_facter 57: Facter.clear 58: 59: # Reload everything. 60: if Facter.respond_to? :loadfacts 61: Facter.loadfacts 62: elsif Facter.respond_to? :load 63: Facter.load 64: else 65: Puppet.warning "You should upgrade your version of Facter to at least 1.3.8" 66: end 67: 68: # This loads all existing facts and any new ones. We have to remove and 69: # reload because there's no way to unload specific facts. 70: Puppet::Node::Facts::Facter.load_fact_plugins 71: end