chef-node icon indicating copy to clipboard operation
chef-node copied to clipboard

Options at inititialize

Open merqlove opened this issue 10 years ago • 1 comments

I think in function Chef must be not required parameter(hash) in which we can put options like:

  • request method options ( i need it because of self-signed cert)
  • Chef version for header
  • ...

merqlove avatar Apr 01 '15 14:04 merqlove

You may already be doing this, but you can get around the self-signed cert issues by including process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0" before you create the client.

justmiles avatar Jul 01 '15 08:07 justmiles