class Chef::RunContext

Public Instance Methods

cheffish() click to toggle source
# File lib/cheffish/recipe_dsl.rb, line 105
def cheffish
  node.run_state[:cheffish] ||= begin
    run_data = Cheffish::ChefRunData.new(config)
    events.register(Cheffish::ChefRunListener.new(node))
    run_data
  end
end
config() click to toggle source
# File lib/cheffish/recipe_dsl.rb, line 113
def config
  node.run_state[:chef_config] ||= Cheffish.profiled_config(Chef::Config)
end