/usr/lib/ruby/1.8/facter/timezone.rb is in facter 1.6.5-1ubuntu1.
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 13 14 | # Fact: timezone
#
# Purpose: Return the machine's time zone.
#
# Resolution: Uses's Ruby's Time module's Time.new call.
#
# Caveats:
#
Facter.add("timezone") do
setcode do
Time.new.zone
end
end
|