[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

test branch puppet-dev at googlegroups.com
Wed Jul 14 10:32:39 UTC 2010


The following commit has been merged in the upstream branch:
commit 83a8c68f89bd47585a9acdf7ef8a95a079fc82f9
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