Sha256: 3d00f65afaef9370d9702f637f4f5686d0efccb4230b403aa227a690fe004f16

Contents?: true

Size: 186 Bytes

Versions: 99

Compression:

Stored size: 186 Bytes

Contents

# Fact: timezone
#
# Purpose: Return the machine's time zone.
#
# Resolution: Uses Ruby's Time module.
#
# Caveats:
#

Facter.add("timezone") do
  setcode do
    Time.new.zone
  end
end

Version data entries

99 entries across 99 versions & 2 rubygems

Version Path
facter-2.5.7 lib/facter/timezone.rb
facter-2.5.7-x86-mingw32 lib/facter/timezone.rb
facter-2.5.7-x64-mingw32 lib/facter/timezone.rb
facter-2.5.7-universal-darwin lib/facter/timezone.rb
facter-2.5.6-x86-mingw32 lib/facter/timezone.rb
facter-2.5.6-x64-mingw32 lib/facter/timezone.rb
facter-2.5.6-universal-darwin lib/facter/timezone.rb
facter-2.5.6 lib/facter/timezone.rb
facter-2.5.5-x86-mingw32 lib/facter/timezone.rb
facter-2.5.5-x64-mingw32 lib/facter/timezone.rb
facter-2.5.5-universal-darwin lib/facter/timezone.rb
facter-2.5.5 lib/facter/timezone.rb
facter-2.5.4-x86-mingw32 lib/facter/timezone.rb
facter-2.5.4-x64-mingw32 lib/facter/timezone.rb
facter-2.5.4-universal-darwin lib/facter/timezone.rb
facter-2.5.4 lib/facter/timezone.rb
bolt-0.24.0 vendored/facter/lib/facter/timezone.rb
bolt-0.23.0 vendored/facter/lib/facter/timezone.rb
bolt-0.22.0 vendored/facter/lib/facter/timezone.rb
bolt-0.21.8 vendored/facter/lib/facter/timezone.rb