This file is indexed.

/usr/share/puppet/modules.available/nanliu-staging/lib/facter/staging_windir.rb is in puppet-module-nanliu-staging 1.0.4-1.

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
Facter.add(:staging_windir) do
  confine :osfamily => :windows
  setcode do
    program_data = `echo %SYSTEMDRIVE%\\ProgramData`.chomp
    if File.directory? program_data
      "#{program_data}\\staging"
    else
      "C:\\staging"
    end
  end
end