This file is indexed.

/usr/lib/ruby/1.8/facter/customfacts.rb is in facter-customfacts-plugin 1.1-0ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# Custom facts
custom_facts_path = "/etc/facts/*"
Dir.glob(custom_facts_path).each do |fact_file|
   Facter.add(fact_file.split(File::SEPARATOR)[-1]) do
      setcode do
         begin
            File.new(fact_file, "r").gets.chomp
         rescue => err
         end
      end
   end
end