# File lib/puppet/configurer/plugin_handler.rb, line 15
15:     def load_plugin(file)
16:         return unless FileTest.exist?(file)
17:         return if FileTest.directory?(file)
18: 
19:         begin
20:             Puppet.info "Loading downloaded plugin %s" % file
21:             load file
22:         rescue Exception => detail
23:             Puppet.err "Could not load downloaded file %s: %s" % [file, detail]
24:         end
25:     end