Module Shef
In: lib/chef/shef/model_wrapper.rb
lib/chef/shef/shef_session.rb
lib/chef/shef/shef_rest.rb
lib/chef/shef/ext.rb
lib/chef/shef.rb

Shef

Shef is Chef in an IRB session. Shef can interact with a Chef server via the REST API, and run and debug recipes interactively.

Methods

Classes and Modules

Module Shef::Extensions
Class Shef::ClientSession
Class Shef::DoppelGangerClient
Class Shef::DoppelGangerSession
Class Shef::ModelWrapper
Class Shef::NamedDataBagWrapper
Class Shef::Options
Class Shef::ShefREST
Class Shef::ShefSession
Class Shef::SoloSession
Class Shef::StandAloneSession

Constants

MainContextExtensions = Proc.new do desc "returns the current node (i.e., this host)"
LEADERS = Hash.new("")

Attributes

client_type  [RW] 
editor  [W] 
env  [RW] 
options  [RW] 

Public Class methods

Set the irb_conf object to something other than IRB.conf usful for testing.

Shef assumes it‘s running whenever it is defined

Start the irb REPL with shef‘s customizations

Public Instance methods

[Validate]