components/ruby/puppet/patches/puppet-00-s12pkg.patch
branchs11u2-sru
changeset 3460 5c5af6e58474
parent 2928 43b3da52b84a
equal deleted inserted replaced
3457:6358358b4186 3460:5c5af6e58474
       
     1 Oracle customization - non upstream patch
       
     2 Add Solaris 12 to the pkg(5) pkg provider
       
     3 
       
     4 --- puppet-3.6.2/lib/puppet/provider/package/pkg.rb.orig	2012-10-19 22:57:51.000000000 -0600
       
     5 +++ puppet-3.6.2/lib/puppet/provider/package/pkg.rb	2012-10-24 15:55:23.203830708 -0600
       
     6 @@ -23,7 +23,7 @@
       
     7  
       
     8    confine :osfamily => :solaris
       
     9  
       
    10 -  defaultfor :osfamily => :solaris, :kernelrelease => '5.11'
       
    11 +  defaultfor :osfamily => :solaris, :kernelrelease => ['5.11', '5.12']
       
    12  
       
    13    def self.instances
       
    14      pkg(:list, '-H').split("\n").map{|l| new(parse_line(l))}