Class: Chef::Resource::OneImage

Inherits:
LWRPBase
  • Object
show all
Defined in:
lib/chef/resource/one_image.rb

Overview

Implementation of Resource class.

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ OneImage

Returns a new instance of OneImage.



58
59
60
61
62
63
# File 'lib/chef/resource/one_image.rb', line 58

def initialize(*args)
  super
  @chef_environment = run_context.cheffish.current_environment
  @chef_server = run_context.cheffish.current_chef_server
  @driver = run_context.chef_provisioning.current_driver
end