diff --git a/lib/puppet/indirector/facts/facter.rb b/lib/puppet/indirector/facts/facter.rb index 1e3805a838..0ae095d3fa 100644 --- a/lib/puppet/indirector/facts/facter.rb +++ b/lib/puppet/indirector/facts/facter.rb @@ -69,7 +69,7 @@ def self.setup_search_paths(request) # print out each .rb in the facts directory as module # developers may find that information useful for debugging purposes if Puppet::Util::Log.sendlevel?(:info) - Puppet.info _("Loading facts") + Puppet.info _("Loading facts from module #{File.basename(File.expand_path('../..', dir))}.") Dir.glob("#{dir}/*.rb").each do |file| Puppet.debug { "Loading facts from #{file}" } end