components/ruby/facter/patches/facter-04-FACT-660.patch
changeset 5860 afd31ba91ee9
parent 2068 4e371f01e40f
child 6136 428f5dba7242
equal deleted inserted replaced
5859:98bc99958997 5860:afd31ba91ee9
     1 Patch for FACT-660 Facter on Solaris 11.2+ should report if zones are supported
     1 Patch for FACT-660 Facter on Solaris 11.2+ should report if zones are supported
     2 Upstream bug: https://tickets.puppetlabs.com/browse/FACT-660
     2 Upstream bug: https://tickets.puppetlabs.com/browse/FACT-660
     3 --- facter-2.1.0/lib/facter/util/solaris_zones.rb.orig	2014-08-19 13:49:14.721574641 -0600
     3 
     4 +++ facter-2.1.0/lib/facter/util/solaris_zones.rb	2014-08-19 13:50:03.475818042 -0600
     4 --- facter-2.4.6/lib/facter/util/solaris_zones.rb.orig	2016-04-19 15:21:42.808586315 -0700
     5 @@ -156,3 +156,29 @@
     5 +++ facter-2.4.6/lib/facter/util/solaris_zones.rb	2016-04-19 15:22:05.762477352 -0700
       
     6 @@ -1,3 +1,7 @@
       
     7 +#######################################################################
       
     8 +# Oracle has modified the originally distributed contents of this file.
       
     9 +#######################################################################
       
    10 +
       
    11  require 'facter/util/resolution'
       
    12  
       
    13  module Facter
       
    14 @@ -156,3 +160,29 @@
     6    end
    15    end
     7  end
    16  end
     8  end
    17  end
     9 +
    18 +
    10 +Facter.add("kernel_zone") do
    19 +Facter.add("kernel_zone") do