1 Patch for FACT-658 facter doesn't parse gnu uptime output
2 Upstream bug: https://tickets.puppetlabs.com/browse/FACT-658
3 --- facter-2.1.0/lib/facter/util/uptime.rb.orig 2014-08-15 10:19:59.183717181 -0600
4 +++ facter-2.1.0/lib/facter/util/uptime.rb 2014-08-15 10:44:49.611645182 -0600
8 def self.uptime_executable_cmd
10 + if Facter.value(:kernel) == 'SunOS'
11 + # Facter doesn't work with gnu uptime
12 + # force use of /usr/bin/uptime
13 + # in case user PATH has /usr/gnu/bin