components/puppet/patches/puppet-00-s12pkg.patch
branchs11-update
changeset 3458 4912663e9858
parent 3455 6bba35ecb6b8
child 3459 e1b247c39c22
equal deleted inserted replaced
3455:6bba35ecb6b8 3458:4912663e9858
     1 Add Solaris 12 to the pkg(5) pkg provider
       
     2 
       
     3 --- puppet-3.4.1/lib/puppet/provider/package/pkg.rb.orig	2012-10-19 22:57:51.000000000 -0600
       
     4 +++ puppet-3.4.1/lib/puppet/provider/package/pkg.rb	2012-10-24 15:55:23.203830708 -0600
       
     5 @@ -23,7 +23,7 @@
       
     6  
       
     7    confine :osfamily => :solaris
       
     8  
       
     9 -  defaultfor :osfamily => :solaris, :kernelrelease => '5.11'
       
    10 +  defaultfor :osfamily => :solaris, :kernelrelease => ['5.11', '5.12']
       
    11  
       
    12    def self.instances
       
    13      pkg(:list, '-H').split("\n").map{|l| new(parse_line(l))}