[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:04:39 UTC 2010


The following commit has been merged in the upstream branch:
commit b93924e1f4ae55565d96701f55ec49ff16379ef0
Author: Peter Meier <peter.meier at immerda.ch>
Date:   Tue Apr 13 00:11:13 2010 +0200

    Fix #3540 - name methods correctly
    
    The "Ensure Parameter" tries to call destroy on the
    provider and not delete.

diff --git a/lib/puppet/provider/maillist/mailman.rb b/lib/puppet/provider/maillist/mailman.rb
index fdb886f..51b7fa3 100755
--- a/lib/puppet/provider/maillist/mailman.rb
+++ b/lib/puppet/provider/maillist/mailman.rb
@@ -67,7 +67,7 @@ Puppet::Type.type(:maillist).provide(:mailman) do
     end
 
     # Delete the list.
-    def delete(purge = false)
+    def destroy(purge = false)
         args = []
         if purge
             args << "--archives"
@@ -99,7 +99,7 @@ Puppet::Type.type(:maillist).provide(:mailman) do
 
     # Remove the list and its archives.
     def purge
-        delete(true)
+        destroy(true)
     end
 
     # Pull the current state of the list from the full list.  We're

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list