I have been working on a custom provider for User resources, relying
in part on the documentation on the Wiki:

http://reductivelabs.com/trac/puppet/wiki/CompleteResourceExample
http://reductivelabs.com/trac/puppet/wiki/ProviderDevelopment

Somewhat to my surprise, my provider is generally working.

Contrary to the Wiki docs, however, I found that when an existing User
resource is ensured absent, the method invoked on my provider is named
"delete", not "destroy".  Is this a peculiarity of the User type, or
is the wiki simply incorrect?

Digging further, it appears that among the standard User providers,
only user_role_add has an explicit "destroy" method.  None of the
standard providers explicitly defines a "delete" method, but it
appears that some of them may acquire one by declaring :delete among
their commands.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to