diff options
author | Peter Meier <peter.meier@immerda.ch> | 2010-04-13 00:11:13 +0200 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2010-04-13 17:55:49 +1000 |
commit | b93924e1f4ae55565d96701f55ec49ff16379ef0 (patch) | |
tree | 91896068d7ed9538178c6422104eadd2dc11d46d | |
parent | 9bc2f281a18abde64061b152631f3a867128cdc5 (diff) | |
download | puppet-b93924e1f4ae55565d96701f55ec49ff16379ef0.tar.gz puppet-b93924e1f4ae55565d96701f55ec49ff16379ef0.tar.xz puppet-b93924e1f4ae55565d96701f55ec49ff16379ef0.zip |
Fix #3540 - name methods correctly
The "Ensure Parameter" tries to call destroy on the
provider and not delete.
-rwxr-xr-x | lib/puppet/provider/maillist/mailman.rb | 4 |
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 |