Class: Chef::Provider::RubyBlock

Inherits:
Chef::Provider show all
Defined in:
lib/engineyard-recipes/generators/templates/cookbooks/main/libraries/ruby_block.rb,
lib/engineyard-recipes/generators/init_resin_chef_generator/templates/cookbooks/main/libraries/ruby_block.rb

Instance Method Summary collapse

Instance Method Details

#action_createObject



32
33
34
# File 'lib/engineyard-recipes/generators/templates/cookbooks/main/libraries/ruby_block.rb', line 32

def action_create
  @new_resource.block.call
end

#load_current_resourceObject



27
28
29
30
# File 'lib/engineyard-recipes/generators/templates/cookbooks/main/libraries/ruby_block.rb', line 27

def load_current_resource
  Chef::Log.debug(@new_resource.inspect)
  true
end