facter-05-FACT-662.patch revision 5858
Patch for FACT-662 Extend ldom.rb to indicate whether ldom creation is supported
Upstream bug: https://tickets.puppetlabs.com/browse/FACT-662
--- facter-2.4.6/lib/facter/ldom.rb.orig 2016-04-19 15:19:02.953948198 -0700
+++ facter-2.4.6/lib/facter/ldom.rb 2016-04-19 15:24:33.197245752 -0700
+ Facter.add("logical_domain") do
+ virtinfo = virtinfo.split("\n")
+ ctrl_role = %x{virtinfo -c current get -Ho value control-role logical-domain 2> /dev/null}
+ case ctrl_role.chomp!