puppetlabs/facter — pull request #712 by whopper (2014-06-30 17:25:21+00:00)
Title: Add structured uptime fact

This commit adds a new 'uptime_hash' structured fact, which
includes keys for seconds, minutes, hours, days and uptime. Also,
the existing uptime facts have been modified to use this hash rather
than calling out to Facter::Util::Uptime utilities to generate their
values.