Issue #4258 has been updated by Maciej BliziĆski Maciej.
There are existing resources: - Patches in the OpenCSW codebase: https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/puppet/trunk/files/ - A page on pkgutil's wiki page: http://pkgutil.wikidot.com/puppetprovider There are 2 versions of the patch in existence: Gary Law's and mine. The main difference between the two is that mine uses the --single option of pkgutil, which speeds up the operation a great deal. The current pkgutil provider has a problem in which it always thinks that it the state of package has changed: puppetd[14858]: [ID 702911 local7.notice] (//package::solaris_pkg/Package[cups]/ensure) ensure changed 'catalog' to 'integrity' The problem that it causes is that since it always thinks that the cups package has changed state, it restarts the daemon, while it really doesn't have to. I've been meaning to correct that, but the current code is quite confusing, especially the factory class methods, and the lack of clear interface. I've tried to work the interface out by reading other providers. The problem with this approach is that there's no clear picture emerging as to which methods are just private utility methods of a given provider, which are actually required by the interface, and which are optional (it looks like different providers have different capabilities). I know pkgutil pretty well and I'm willing to contribute, but I need guidance as to what are the required methods of the provider interface, what arguments they expect and what are the required return data structures. ---------------------------------------- Feature #4258: Add pkgutil provider http://projects.puppetlabs.com/issues/4258 Author: James Turnbull Status: Ready for Testing Priority: Normal Assigned to: James Turnbull Category: Solaris Target version: 2.6.1 Affected version: 0.25.5 Keywords: Branch: http://github.com/jamtur01/puppet/tree/tickets/master/4258 -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
