rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / ruby / puppet / patches / puppet-00-s12pkg.patch
blobb5e83574fc935b3b365d53fc7a6467dc0825be44
1 Oracle customization - non upstream patch
2 Add Solaris 12 to the pkg(5) pkg provider
4 --- puppet-3.8.6/lib/puppet/provider/package/pkg.rb.orig 2016-04-19 13:58:08.682627507 -0700
5 +++ puppet-3.8.6/lib/puppet/provider/package/pkg.rb 2016-04-19 14:01:27.178984250 -0700
6 @@ -1,3 +1,7 @@
7 +#######################################################################
8 +# Oracle has modified the originally distributed contents of this file.
9 +#######################################################################
11 require 'puppet/provider/package'
13 Puppet::Type.type(:package).provide :pkg, :parent => Puppet::Provider::Package do
14 @@ -23,7 +27,7 @@
16 confine :osfamily => :solaris
18 - defaultfor :osfamily => :solaris, :kernelrelease => '5.11'
19 + defaultfor :osfamily => :solaris, :kernelrelease => ['5.11', '5.12']
21 def self.instances
22 pkg(:list, '-H').split("\n").map{|l| new(parse_line(l))}