puppetlabs/facter — pull request #237 by rlinehan (2012-06-07 23:42:21+00:00)
Title: (#2066) Make memory facts available in fixed units

Previously memory facts were dynamically scaled, which was great
for human readability but bad for ability to use this information
programmatically. This commit adds memory facts fixed in MB which
were chosen as the smallest useful unit. Memory is given without
units attached.

Refactor memory facts to make general scaled facts based off of
platform-specific MB facts. Refactor similar fact definitions and
tests. Remove fact definition and creation from vmstat_find_free_memory
method definition in util/memory.rb.