Issue #16641 has been updated by eric sorenson. Status changed from Unreviewed to Needs More Information Assignee set to James Turnbull
James--mem_size and mem_free were added in this commit <pre> commit 0720bedb76c7d74fa05ca91ae7fb128c6c267e08 Author: rlinehan <[email protected]> Date: Tue Jun 12 09:49:25 2012 -0700 (#2066) Refactor memory size and memory free facts Add methods to util/memory.rb to retrieve memory size and memory free based on kernel type. Remove fact definitions specified for each platform that were identical, and make non-kernel specific facts when possible. This removes a lot of similar code from lib/facter/memory.rb and makes the fact definitions more readable. </pre> but the code which uses them does not appear to be in a release (according to `git tag --contains 0720bedb7`) -- is it possible you're picking up stuff out of a git checkout via envpuppet / $RUBYLIB? I couldn't reproduce this locally. I'm on Lion not 10.8 though, FWIW. ---------------------------------------- Bug #16641: Could not retrieve swapsize_mb: undefined method `swap_size' for Facter::Memory:Module https://projects.puppetlabs.com/issues/16641#change-75806 Author: James Turnbull Status: Needs More Information Priority: Normal Assignee: James Turnbull Category: library Target version: Keywords: Branch: Affected Facter version: 2.0.0rc3 Running Facter 1.6.12 right up to 2.0.0rc4 I see: <pre> Could not retrieve swapsize_mb: undefined method `swap_size' for Facter::Memory:Module Could not retrieve memorysize_mb: undefined method `mem_size' for Facter::Memory:Module Could not retrieve swapfree_mb: undefined method `swap_free' for Facter::Memory:Module Could not retrieve memoryfree_mb: undefined method `mem_free' for Facter::Memory:Module </pre> Platform is OSX 10.8 -- 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.
