components/puppet/patches/puppet-00-s12pkg.patch
author John Beck <John.Beck@Oracle.COM>
Tue, 02 Apr 2013 08:43:27 -0700
changeset 1245 b95e96615c0c
parent 1198 f9a4100102d8
child 1409 9db4ba32e740
child 2771 8e4227dc2fc4
permissions -rw-r--r--
16577372 Userland Makefile variables should be less magical

Add Solaris 12 to the pkg(5) pkg provider

--- puppet-3.0.1/lib/puppet/provider/package/pkg.rb.orig	2012-10-19 22:57:51.000000000 -0600
+++ puppet-3.0.1/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))}