[chef-dev] Re: Re: Installing Gems for a LWRP


Chronological Thread 
  • From: Julian Dunn < >
  • To: "< >" < >
  • Subject: [chef-dev] Re: Re: Installing Gems for a LWRP
  • Date: Thu, 2 May 2013 05:19:48 -0400

Ditto what he said, but check out what we do in the AWS cookbook.


Granted this is a library, so adapt as needed.

- Julian

Sent from my smartphone. Sorry about any typos.

On May 2, 2013, at 1:15 AM, Matthew Hooker < "> > wrote:

That's difficult. I've found the easiest way is to put the onus of the dependency on the client of your lwrp

Plaese forgive typos -- sent via phone

On May 1, 2013, at 20:55, Ryan Hass < "> > wrote:

Hello,

I am working on implementing COOK-847, and have encountered a
chicken-and-egg problem. I need to install the certificate_authority
gem; normally I would simply call chef_gem for something like this.
However, since the default recipe is likely to be executed after the
provider I am not able to do this. I also am unable to find a standard
Mixin for chef_gem in Chef 11.x.

What is the correct way to install a gem for Chef to use so I can
require it in my provider?

-Ryan H.
This electronic message contains information which may be confidential or privileged. The information is intended for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify us by e-mail at ( "> ) immediately.




Archive powered by MHonArc 2.6.16.

§