Class: Chef::RunContext
- Inherits:
-
Object
- Object
- Chef::RunContext
- Defined in:
- lib/cheffish/recipe_dsl.rb
Instance Method Summary collapse
Instance Method Details
#cheffish ⇒ Object
81 82 83 84 85 86 87 |
# File 'lib/cheffish/recipe_dsl.rb', line 81 def cheffish @cheffish ||= begin run_data = Cheffish::ChefRunData.new(config) events.register(Cheffish::ChefRunListener.new(self)) run_data end end |
#config ⇒ Object
89 90 91 |
# File 'lib/cheffish/recipe_dsl.rb', line 89 def config @config ||= Cheffish.profiled_config(Chef::Config) end |