chef-node
chef-node copied to clipboard
Options at inititialize
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
- ...
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.