[chef] Re: Re: Accessing Knife via Ruby


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Re: Re: Accessing Knife via Ruby
  • Date: Sun, 1 Jan 2012 03:31:35 -0800 (PST)

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.

§