knife-batch icon indicating copy to clipboard operation
knife-batch copied to clipboard

ssh_command is throwing an error because of function signature

Open rbucker opened this issue 12 years ago • 1 comments

def ssh_command(command, subsession=nil, nodes)

I'm not 100% certain but I believe that since you have a default value for subsession all params to the right must also have default values. The error from ruby 1.9.2p0 was pretty vague but when I added the nodes=nil that error message went away.

rbucker avatar Nov 28 '12 19:11 rbucker

Oh, interesting! I'll test this out and release a new version. Thanks!

imeyer avatar Nov 28 '12 23:11 imeyer