summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPeter Meier <peter.meier@immerda.ch>2010-04-13 00:11:13 +0200
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commit83a8c68f89bd47585a9acdf7ef8a95a079fc82f9 (patch)
treedaf6f97c10f38949de836faf4edce1fc3fb943fa /lib
parent3d395e857b588a8832430bf450c45b2fc37765e4 (diff)
downloadpuppet-83a8c68f89bd47585a9acdf7ef8a95a079fc82f9.tar.gz
puppet-83a8c68f89bd47585a9acdf7ef8a95a079fc82f9.tar.xz
puppet-83a8c68f89bd47585a9acdf7ef8a95a079fc82f9.zip
Fix #3540 - name methods correctly
The "Ensure Parameter" tries to call destroy on the provider and not delete.
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