Comment 3 for bug 1330484

Revision history for this message
Mark Vanderwiel (vanderwl) wrote :

Great details. My thought was to maybe go after a enhancement in Chef to allow for resources that are only available during the converge (created up front and removed at the end). Kinda like the delay and immediate notify settings. Some obvious resources that would be useful in that mode would be: templates, files, directories or packages for setup only work (like the openstack clients). One issue will be overlap with something like the client recipe which wants to laydown the client packages.
Not sure if this is possible but would like to explore it a bit.

I think your current patch is fine and addresses the issue, but maybe a resource/provider CLI wrapper might also be something to explore. It would include that package resource and then make the library call.