[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.4-89-gcbbd363

James Turnbull james at lovedthanlost.net
Tue May 18 09:03:23 UTC 2010


The following commit has been merged in the upstream branch:
commit 9419c2ba9553d2ed88e7435ea7becc0783024af2
Author: Markus Roberts <Markus at reality.com>
Date:   Mon Jan 25 13:17:42 2010 -0800

    Fix for #3035 (redhat services use init for source)
    
    Redhat services generated a slew of errors because they "duplicated" the same
    services from the init provider on which the redhat provider is based (cf yum).
    
    Declaring the source suppresses these erroneous errors.

diff --git a/lib/puppet/provider/service/redhat.rb b/lib/puppet/provider/service/redhat.rb
index 211b669..45a9074 100755
--- a/lib/puppet/provider/service/redhat.rb
+++ b/lib/puppet/provider/service/redhat.rb
@@ -1,6 +1,6 @@
 # Manage Red Hat services.  Start/stop uses /sbin/service and enable/disable uses chkconfig
 
-Puppet::Type.type(:service).provide :redhat, :parent => :init do
+Puppet::Type.type(:service).provide :redhat, :parent => :init, :source => :init do
     desc "Red Hat's (and probably many others) form of ``init``-style service management:
 
     Uses ``chkconfig`` for service enabling and disabling.

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list