We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa817e8 commit ce2fdd1Copy full SHA for ce2fdd1
1 file changed
chef/lib/chef/resource/erl_call.rb
@@ -22,15 +22,17 @@ class Chef
22
class Resource
23
class ErlCall < Chef::Resource
24
25
+ # erl_call : http://erlang.org/doc/man/erl_call.html
26
+
27
def initialize(name, collection=nil, node=nil)
28
super(name, collection, node)
29
@resource_name = :erl_call
30
- @code = "q()."
- @cookie = nil
31
- @distributed = false
32
- @name_type = "sname"
33
- @node_name = "chef@localhost"
+ @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
34
+ @name_type = "sname" # type of erlang hostname name or sname
35
+ @node_name = "chef@localhost" # the erlang node hostname
36
end
37
38
def code(arg=nil)
0 commit comments