From: adrienthebo <adr...@puppetlabs.com>
Signed-off-by: Adrien Thebo <adr...@puppetlabs.com> --- Local-branch: ticket/master/7726 lib/facter/memory.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/facter/memory.rb b/lib/facter/memory.rb index 992f2ad..ef861ad 100644 --- a/lib/facter/memory.rb +++ b/lib/facter/memory.rb @@ -189,7 +189,7 @@ if Facter.value(:kernel) == "SunOS" end # Total memory size available from prtconf - pconf = Facter::Util::Resolution.exec('/usr/sbin/prtconf') + pconf = Facter::Util::Resolution.exec('/usr/sbin/prtconf 2>/dev/null') phymem = "" pconf.each do |line| if line =~ /^Memory size:\s+(\d+) Megabytes/ -- 1.7.4.1 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.