Issue #5086 has been updated by Jacob Helwig.

Status changed from Investigating to Ready for Testing
Branch set to https://github.com/jhelwig/facter/tree/issue/next/5086

Andrew,

Sorry for taking so long to get back to you on this.  Would you be able to test 
out the changes in my branch, and make sure that fixes things for you?  
Specifically the changes in 8a88ef64c7715ff25a95b4b6688405aae23f0ec0.

If that fixes things for you, I'll send the patches off to the list to get them 
included.

Thanks,
Jacob
----------------------------------------
Bug #5086: Uptime reporting incorrectly for server where uptime is over on year
https://projects.puppetlabs.com/issues/5086

Author: Andrew Heichelbech
Status: Ready for Testing
Priority: Normal
Assignee: Jacob Helwig
Category: 
Target version: 
Keywords: 
Branch: https://github.com/jhelwig/facter/tree/issue/next/5086


The uptime is facter is reporting incorrecly.

[/opt/csw/bin] # uptime
  7:04pm  up 588 day(s), 19:12,  4 users,  load average: 0.05, 0.05, 0.05

[/opt/csw/bin] # facter uptime
223 days

It does not seem the facter module for uptime takes into account years.  

If we subtract the 223 from the actual 588 it leaves 365, so somewhere in the 
processing I the time for 1 year has been lost.

Environment information:


OS version: Solaris 10 Update 6 
Kernel version: Generic_138889-03
Puppet version: 0.25.5
Facter version: 1.5.8
Hardware: Sun Microsystems Sun Fire X4200 M2





-- 
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.

Reply via email to