components/ruby/puppet/patches/puppet-06-provider-smf.patch
changeset 5860 afd31ba91ee9
parent 2081 1f1144fb0e4e
equal deleted inserted replaced
5859:98bc99958997 5860:afd31ba91ee9
     1 Add check for existence of smf service
     1 Add check for existence of smf service
     2 --- puppet-3.6.2/lib/puppet/provider/service/smf.rb.orig	2013-07-15 09:23:24.667341073 -0600
     2 
     3 +++ puppet-3.6.2/lib/puppet/provider/service/smf.rb	2013-07-15 10:13:03.196178924 -0600
     3 --- puppet-3.8.6/lib/puppet/provider/service/smf.rb.orig	2016-04-19 14:26:51.367951573 -0700
     4 @@ -80,9 +80,18 @@
     4 +++ puppet-3.8.6/lib/puppet/provider/service/smf.rb	2016-04-19 14:27:31.661139999 -0700
       
     5 @@ -1,3 +1,7 @@
       
     6 +#######################################################################
       
     7 +# Oracle has modified the originally distributed contents of this file.
       
     8 +#######################################################################
       
     9 +
       
    10  # Solaris 10 SMF-style services.
       
    11  Puppet::Type.type(:service).provide :smf, :parent => :base do
       
    12    desc <<-EOT
       
    13 @@ -80,9 +84,18 @@
     5        return
    14        return
     6      end
    15      end
     7  
    16  
     8 +    # get the current state and the next state, and if the next
    17 +    # get the current state and the next state, and if the next
     9 +    # state is set (i.e. not "-") use it for state comparison
    18 +    # state is set (i.e. not "-") use it for state comparison