Revision: 14860 http://gar.svn.sourceforge.net/gar/?rev=14860&view=rev Author: phipsy Date: 2011-06-23 13:04:22 +0000 (Thu, 23 Jun 2011)
Log Message: ----------- And actually including the facter nasty patch Added Paths: ----------- csw/mgar/pkg/facter/trunk/files/0001-Patch-to-prtconf-run-in-memory.rb.patch Added: csw/mgar/pkg/facter/trunk/files/0001-Patch-to-prtconf-run-in-memory.rb.patch =================================================================== --- csw/mgar/pkg/facter/trunk/files/0001-Patch-to-prtconf-run-in-memory.rb.patch (rev 0) +++ csw/mgar/pkg/facter/trunk/files/0001-Patch-to-prtconf-run-in-memory.rb.patch 2011-06-23 13:04:22 UTC (rev 14860) @@ -0,0 +1,25 @@ +From a99e009edb9c5b948947466a9247a820ea907cb4 Mon Sep 17 00:00:00 2001 +From: Mark Phillips <none@none> +Date: Tue, 31 May 2011 19:35:05 +0200 +Subject: [PATCH] Patch to prtconf run in memory.rb + +--- + 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 9dd2e29..fdb3099 100644 +--- a/lib/facter/memory.rb ++++ b/lib/facter/memory.rb +@@ -172,7 +172,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.3.2 + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel