--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ruby/facter/patches/facter-02-FACT-656.patch Fri Oct 17 09:32:29 2014 -0700
@@ -0,0 +1,13 @@
+Patch for FACT-656 facter generates error on Solaris kernel zone due to prtdiag
+Upstream bug: https://tickets.puppetlabs.com/browse/FACT-656
+--- facter-2.1.0/lib/facter/virtual.rb.orig 2014-08-18 10:37:43.330858038 -0600
++++ facter-2.1.0/lib/facter/virtual.rb 2014-08-18 10:38:02.723874811 -0600
+@@ -67,7 +67,7 @@
+ setcode do
+ next "zone" if Facter::Util::Virtual.zone?
+
+- output = Facter::Core::Execution.exec('prtdiag')
++ output = Facter::Core::Execution.exec('/usr/sbin/prtdiag 2>/dev/null')
+ if output
+ lines = output.split("\n")
+ next "parallels" if lines.any? {|l| l =~ /Parallels/ }