components/puppet/patches/puppet-00-s12pkg.patch
author Rich Burridge <rich.burridge@oracle.com>
Thu, 08 Aug 2013 10:33:46 -0700
changeset 1426 47002a1da407
parent 1409 9db4ba32e740
child 1474 97927b6c1ece
permissions -rw-r--r--
17284047 diffutils needs TPNO and license adjustments

Add Solaris 12 to the pkg(5) pkg provider

--- puppet-3.2.2/lib/puppet/provider/package/pkg.rb.orig	2012-10-19 22:57:51.000000000 -0600
+++ puppet-3.2.2/lib/puppet/provider/package/pkg.rb	2012-10-24 15:55:23.203830708 -0600
@@ -23,7 +23,7 @@
 
   confine :osfamily => :solaris
 
-  defaultfor :osfamily => :solaris, :kernelrelease => '5.11'
+  defaultfor :osfamily => :solaris, :kernelrelease => ['5.11', '5.12']
 
   def self.instances
     pkg(:list, '-H').split("\n").map{|l| new(parse_line(l))}