Issue #2066 has been updated by Michael DeHaan.

We should add the new unitless versions as something like 'memory_mb' to avoid 
breaking backwards compatibility. 


----------------------------------------
Bug #2066: Make units optional
http://projects.reductivelabs.com/issues/2066

Author: Sam Quigley
Status: Accepted
Priority: Normal
Assigned to: 
Category: library
Target version: 2.0.0
Keywords: 
Branch: 


For memory facts (and maybe other stuff?), Facter currently uses the largest 
unit it can (kb/mb/gb/tb), and only prints two decimal places of accuracy.  On 
some of my systems, this means that the facts reported by facter are slightly 
wrong -- and it also introduces a bit of complexity into any program that wants 
to make use of these facts, since they have to translate back into 
machine-readable units...

It'd be nice if there were an option to make facter report bytes instead...

-sq


-- 
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://reductivelabs.com/redmine/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