Issue #13050 has been updated by Patrick Carlisle.
Solutions for some additional systems I've found so far:
debian based: /etc/timezone
redhat: read link of /etc/localtime (e.g. /etc/localtime ->
/usr/share/zoneinfo/America/Los_Angeles)
os x >= 10.5: systemsetup -gettimezone
----------------------------------------
Feature #13050: facter should have a fact for the long timezone name
https://projects.puppetlabs.com/issues/13050#change-56723
Author: Garrett Wollman
Status: Accepted
Priority: Normal
Assignee:
Category:
Target version:
Keywords:
Branch:
Affected Facter version: 1.6.6
FreeBSD 9.0 (and possibly 8.3, I haven't checked) and later cache the name of
the configured timezone in /var/db/zoneinfo. This is more meaningful than the
contents of struct tm's tm_zone, and would be useful as a condition to
determine whether to sync a new /etc/localtime out when the government screws
with your timezone. I'm not sure what the best way to add this is, so no patch
supplied. (The /var/db/zoneinfo file is a single line of text with the name of
the zone, suitable for use in tzsetup(8) or $TZ.)
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.