I'm having problems running 2 lines on my script file via vagrant.

These commands are:
chef-server-ctl user-create and chef-server-ctl org-create. I tried 
manually executing the commands on the terminal and they work. However, 
when I run it as a provision to a vagrant box, I get the error message:

==> chef: the ffi-yajl and yajl-ruby gems have incompatible C libyajl libs 
and should not be loaded in the same Ruby VM
==> chef: falling back to ffi which might work (or might not, no promises)
==> chef: ffi-yajl/json_gem is deprecated, these monkeypatches will be 
dropped shortly
==> chef: Response: <html>
==> chef: <head><title>502 Bad Gateway</title></head>
==> chef: <body bgcolor="white">
==> chef: <center><h1>502 Bad Gateway</h1></center>
==> chef: <hr><center>ngx_openresty/1.4.3.6</center>
==> chef: </body>
==> chef: </html>
==> chef: ERROR: bad gateway

Does anybody know how I can get through this?


Thanks,
Mihael

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to