puppetlabs/facter — pull request #721 by whopper (2014-07-09 00:56:18+00:00)
Title: (FACT-612) Add structured uptime fact

This commit adds a new 'system_uptime' structured fact, which
includes keys for seconds, 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.