# File lib/chef/resource/erl_call.rb, line 27 def initialize(name, run_context=nil) super @resource_name = :erl_call @code = "q()." # your erlang code goes here @cookie = nil # cookie of the erlang node @distributed = false # if you want to have a distributed erlang node @name_type = "sname" # type of erlang hostname name or sname @node_name = "chef@localhost" # the erlang node hostname @action = "run" @allowed_actions.push(:run) end