chef solo prepare command does not work

308 Views Asked by At

I'm trying to using chef solo on a remote windows machine. My "chef solo prepare" command works fine on a linux remote machine but on a windows remote machine with cygwin openssh running, when I run:

 knife solo prepare [email protected] -i ~/.ssh/my-rsa -V

I get the following error:

Bootstrapping Chef...
ERROR: SyntaxError: (eval):1: syntax error, unexpected $end
KnifeSolo::Bootstraps::
                   ^

I've already tested the ssh which works fine. Does anyone have a clue what I can do to fix this?

1

There are 1 best solutions below

0
On

knife solo prepare does not work on Windows. You could wait until the maintainer can add Windows support or open a Pull Request on GitHub to add this functionality.