[chef] Re: custom resource/provider packaged as a gem?


Chronological Thread 
  • From: Joshua Timberman < >
  • To: " " < >
  • Cc: " " < >
  • Subject: [chef] Re: custom resource/provider packaged as a gem?
  • Date: Sat, 28 Apr 2012 09:39:22 -0600

Hello,

On Apr 26, 2012, at 19:43, Brian Parker 
< >
 wrote:

> I can't seem to find an example of a custom resource/provider packaged and 
> distributed as a gem?  Is that because it not currently practical to do so? 
>   

It's certainly practical to distribute libraries that contain resource and 
provider classes as RubyGems. The chef-deploy gem[0] by Ezra Zygmuntowicz 
does this. It is not an lwrp though. If you want an lwrp then you should put 
it in the cookbook because then chef will do its automatic class loading. 

[0]: the functionality of this gem is now in the deploy resource that comes 
with chef


Archive powered by MHonArc 2.6.16.

§