lib/chef/provisioning/chef_image_spec.rb
#
# Save this image to the server.  If you have significant information that
# could be lost, you should do this as quickly as possible.  Data will be
# saved automatically for you after allocate_image and ready_image.
#
Save this image to the server.  If you have significant information that
could be lost, you should do this as quickly as possible.  Data will be
saved automatically for you after allocate_image and ready_image.
Save this image to the server . If you have significant information that could be lost you should do this as quickly as possible . Data will be saved automatically for you after allocate_image and ready_image .
def save(action_handler)
      _self = self
      _chef_server = _self.chef_server
      Chef::Provisioning.inline_resource(action_handler) do
        chef_data_bag 'images'
        chef_data_bag_item _self.name do
          data_bag 'images'
          chef_server _chef_server
          raw_data _self.image_data
        end
      end
    end
def save ( action_handler ) _self = self _chef_server = _self . chef_server Chef :: Provisioning . inline_resource ( action_handler ) do chef_data_bag 'images' chef_data_bag_item _self . name do data_bag 'images' chef_server _chef_server raw_data _self . image_data end end end
Save this image to the server.
Save this image to the server .
# Save the image to the server. # Create the data bag if needed # Save the image
action_handler
<not_specific>