Sha256: 26d5661dc0d7952ed5a033060d0d7cc5aff5e2ce969efe62e4ab461fc902c007
Contents?: true
Size: 827 Bytes
Versions: 39
Compression:
Stored size: 827 Bytes
Contents
require 'chef/provisioning/managed_entry' class Chef module Provisioning # # Specification for a image. Sufficient information to find and contact it # after it has been set up. # class MachineImageSpec < ManagedEntry alias :location :reference alias :location= :reference= def from_image data['from_image'] end def from_image=(value) data['from_image'] = value end def run_list data['run_list'] end def run_list=(value) data['run_list'] = value end def machine_options @machine_options end 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 end end end
Version data entries
39 entries across 39 versions & 1 rubygems