Class: Chef::Resource::MachineImage

Inherits:
Machine
  • Object
show all
Defined in:
lib/chef/resource/machine_image.rb

Instance Method Summary collapse

Methods inherited from Machine

#add_machine_options, #file, #load_prior_resource

Constructor Details

#initialize(*args) ⇒ MachineImage

Returns a new instance of MachineImage.



12
13
14
15
16
# File 'lib/chef/resource/machine_image.rb', line 12

def initialize(*args)
  super
  @image_options = run_context.chef_provisioning.current_image_options
  @machine_options = run_context.chef_provisioning.current_machine_options
end