[chef] Re: Re: chef and ruby scripts


Chronological Thread 
  • From: Jasna Benčić < >
  • To:
  • Subject: [chef] Re: Re: chef and ruby scripts
  • Date: Wed, 6 Nov 2013 10:08:06 +0100

Looks handy but not quite what I'm looking for

I was looking for something that looks like the snippet below...  Where can I find what is inside Chef::  and that syntax? Below you see Config and Knife and Internet is very cheap with this kind of results :/

require("chef")
require("chef/knife")
Chef::Config.from_file(knifePath) #knifePath is declared a priori
cookbooks = Chef::Knife.run(["cookbook", "list"])
puts(cookbooks) # => nil



Archive powered by MHonArc 2.6.16.

§