[chef] LWRP to extend a Chef resource?


Chronological Thread 
  • From: Mike < >
  • To: " " < >
  • Subject: [chef] LWRP to extend a Chef resource?
  • Date: Tue, 29 Oct 2013 11:10:44 -0400

I've been looking in to how I might go about writing something to subclass an existing Chef resource, that already extends another Chef resource.

Case: the easy_install_package resource subclasses the package resource, and adds semantics and behavior specific to easy_install.

I want to further subclass this resource and add some defaults, so that whenever I call mikes_easy_install_package (name is WIP) I get the directives/options I've declared.

Is there a decent example of this anywhere, and my Google-fu is simply failing me today?

Thanks,
-Mike



Archive powered by MHonArc 2.6.16.

§