libraries/resource_provider.rb
def create(method = :create)
      Chef::Log.info "#{method.to_s.capitalize} #{@resource_name} '#{@name}'"
      @context.converge_by "#{method.to_s.capitalize} #{@resource_name} '#{@name}'" do
        @item.send(method)
      end
    end
# This method is shared between multiple actions and takes care of the creation of the resource.
# Only call this method if the resource does not exist and needs to be created.
# @param [Symbol] method Create method
This method is shared between multiple actions and takes care of the creation of the resource.
Only call this method if the resource does not exist and needs to be created.
This method is shared between multiple actions and takes care of the creation of the resource . Only call this method if the resource does not exist and needs to be created .
def create(method = :create)
      Chef::Log.info "#{method.to_s.capitalize} #{@resource_name} '#{@name}'"
      @context.converge_by "#{method.to_s.capitalize} #{@resource_name} '#{@name}'" do
        @item.send(method)
      end
    end
def create ( method = :create ) Chef :: Log . info "#{method.to_s.capitalize} #{@resource_name} '#{@name}'" @context . converge_by "#{method.to_s.capitalize} #{@resource_name} '#{@name}'" do @item . send ( method ) end end
This method is shared between multiple actions and takes care of the creation of the resource.
This method is shared between multiple actions and takes care of the creation of the resource .
method
method Create method
method Create method