- From: Zuhaib Siddique <
>
- To:
- Subject: [chef] Re: Accessing Knife via Ruby
- Date: Thu, 5 Jan 2012 19:36:19 -0800
Karel,
Oh nice thanks for the snippet of code. I ended up using fog and setting up
the keys at the header of the file but this is much more elegant for system
that have knife installed and configured.
Zuhaib
On Jan 1, 2012, at 3:31 AM,
<
>
<
>
wrote:
>
Hello, it is actually quite simple to access config in `knife.rb` from a
>
Ruby
>
script, and it definitely makes sense to do so.
>
>
We have something like this in our Rakefile (to be able to wrap certain
>
operations in Rake tasks):
>
>
--> http://gist.github.com/1547103
>
>
Best,
>
>
Karel
Archive powered by MHonArc 2.6.16.