[chef] Re: Re: Re: Re: how could I use knife programmatically in a ruby script?


Chronological Thread 
  • From: Benoit Caron < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: how could I use knife programmatically in a ruby script?
  • Date: Wed, 23 Nov 2011 13:06:56 -0500

I've used the Spice library with some success:

 https://github.com/danryan/spice

The only trouble I had was with the search, I always got MissingMethods errors. Did not have enough time to figure it out and moved to something else.

But it worked perfectly well to interact with nodes and databags.

On Wed, Nov 23, 2011 at 12:43 PM, Haim Ashkenazi < "> > wrote:
Hi

On Wed, Nov 23, 2011 at 7:25 PM, Bryan Berry < " target="_blank"> > wrote:
toda raba! ata totach!
Thanks (I guess it's for me :).

you've saved me a good bit of effort
BTW, reading through the chef code is surprisingly easy. It's very well written.

Bye
--
Haim




Archive powered by MHonArc 2.6.16.

§