summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/puppet/provider/maillist/mailman.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/provider/maillist/mailman.rb b/lib/puppet/provider/maillist/mailman.rb
index fdb886f56..51b7fa34b 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