Class: Chef::Provisioning::MachineImageSpec
Overview
Specification for a image. Sufficient information to find and contact it after it has been set up.
Instance Attribute Summary
Attributes inherited from ManagedEntry
#data, #managed_entry_store, #name, #resource_type
Instance Method Summary
collapse
#attrs, #delete, #delete_data, #driver_url, #driver_url=, #get_data, #id, #identifier, #initialize, #reference, #reference=, #save, #save_data
Instance Method Details
#from_image ⇒ Object
13
14
15
|
# File 'lib/chef/provisioning/machine_image_spec.rb', line 13
def from_image
data['from_image']
end
|
#from_image=(value) ⇒ Object
16
17
18
|
# File 'lib/chef/provisioning/machine_image_spec.rb', line 16
def from_image=(value)
data['from_image'] = value
end
|
#machine_options ⇒ Object
25
26
27
|
# File 'lib/chef/provisioning/machine_image_spec.rb', line 25
def machine_options
@machine_options
end
|
#machine_options=(value) ⇒ Object
28
29
30
31
|
# 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 ⇒ Object
19
20
21
|
# File 'lib/chef/provisioning/machine_image_spec.rb', line 19
def run_list
data['run_list']
end
|
#run_list=(value) ⇒ Object
22
23
24
|
# File 'lib/chef/provisioning/machine_image_spec.rb', line 22
def run_list=(value)
data['run_list'] = value
end
|