puppet-00-s12pkg.patch revision 5858
3160N/AOracle customization - non upstream patch
1487N/AAdd Solaris 12 to the pkg(5) pkg provider
1487N/A
5858N/A--- puppet-3.8.6/lib/puppet/provider/package/pkg.rb.orig 2016-04-19 13:58:08.682627507 -0700
5858N/A+++ puppet-3.8.6/lib/puppet/provider/package/pkg.rb 2016-04-19 14:01:27.178984250 -0700
5858N/A@@ -1,3 +1,7 @@
5858N/A+#######################################################################
5858N/A+# Oracle has modified the originally distributed contents of this file.
5858N/A+#######################################################################
5858N/A+
5858N/A require 'puppet/provider/package'
5858N/A
5858N/A Puppet::Type.type(:package).provide :pkg, :parent => Puppet::Provider::Package do
5858N/A@@ -23,7 +27,7 @@
1487N/A
1487N/A confine :osfamily => :solaris
1487N/A
1487N/A- defaultfor :osfamily => :solaris, :kernelrelease => '5.11'
1487N/A+ defaultfor :osfamily => :solaris, :kernelrelease => ['5.11', '5.12']
1487N/A
1487N/A def self.instances
1487N/A pkg(:list, '-H').split("\n").map{|l| new(parse_line(l))}
5858N/A