components/ruby/puppet/patches/puppet-00-s12pkg.patch
changeset 5860 afd31ba91ee9
parent 2081 1f1144fb0e4e
--- a/components/ruby/puppet/patches/puppet-00-s12pkg.patch	Mon Apr 25 10:20:40 2016 -0700
+++ b/components/ruby/puppet/patches/puppet-00-s12pkg.patch	Wed Apr 27 14:55:10 2016 -0700
@@ -1,9 +1,17 @@
 Oracle customization - non upstream patch
 Add Solaris 12 to the pkg(5) pkg provider
 
---- puppet-3.6.2/lib/puppet/provider/package/pkg.rb.orig	2012-10-19 22:57:51.000000000 -0600
-+++ puppet-3.6.2/lib/puppet/provider/package/pkg.rb	2012-10-24 15:55:23.203830708 -0600
-@@ -23,7 +23,7 @@
+--- puppet-3.8.6/lib/puppet/provider/package/pkg.rb.orig        2016-04-19 13:58:08.682627507 -0700
++++ puppet-3.8.6/lib/puppet/provider/package/pkg.rb     2016-04-19 14:01:27.178984250 -0700
+@@ -1,3 +1,7 @@
++#######################################################################
++# Oracle has modified the originally distributed contents of this file.
++#######################################################################
++
+ require 'puppet/provider/package'
+ 
+ Puppet::Type.type(:package).provide :pkg, :parent => Puppet::Provider::Package do
+@@ -23,7 +27,7 @@
  
    confine :osfamily => :solaris
  
@@ -12,3 +20,4 @@
  
    def self.instances
      pkg(:list, '-H').split("\n").map{|l| new(parse_line(l))}
+