class Chef::Provisioning::MachineImageSpec
Specification for a image. Sufficient information to find and contact it after it has been set up.
Public Instance Methods
from_image()
click to toggle source
# File lib/chef/provisioning/machine_image_spec.rb, line 13 def from_image data['from_image'] end
from_image=(value)
click to toggle source
# File lib/chef/provisioning/machine_image_spec.rb, line 16 def from_image=(value) data['from_image'] = value end
machine_options()
click to toggle source
# File lib/chef/provisioning/machine_image_spec.rb, line 25 def machine_options @machine_options end
machine_options=(value)
click to toggle source
# File lib/chef/provisioning/machine_image_spec.rb, line 28 def machine_options=(value) Chef::Log.warn("Machine options are no longer stored in machine_image_spec. Drivers that store machine_options will stop working with Provisioning 1.0.") @machine_options = value end
run_list()
click to toggle source
# File lib/chef/provisioning/machine_image_spec.rb, line 19 def run_list data['run_list'] end
run_list=(value)
click to toggle source
# File lib/chef/provisioning/machine_image_spec.rb, line 22 def run_list=(value) data['run_list'] = value end