tas50 on v6.0.0
command not found. Has anyone come across this? For now I'm having to manually create symlinks to fix it - but this doesnt seem right for a self-contained cookbook
when using the cookbook with chef
12.5.1, it explodes into my face with
undefined methodlog_deprecation' for class
Class' (more: https://gist.github.com/alappe/84ed444400e741c70877)
Hey RafaPolit, You can do it, just use the attribute "nodejs_install_method": "binary" like this:
You can get the version and the package checksum in the nodejs.org
I hope that this information helps you.
Thanks for the answer. I am really new here, sorry if this is really obvious, just getting my feet wet with all this and a bit over my head for the time being. So... I have set the following in my install_node.rb recipe:
node.default['nodejs']['install_method'] = 'binary'
node.default['nodejs']['nodejs_version'] = '4.2.6'
As far as I can tell, nodejs is being installed from binary, so the install_method is working as expected. But its installing v0.10.26. Don't know why. This is the log of the corresponding section:
* ark[nodejs-binary] action install * directory[/usr/local/nodejs-binary-0.10.26] action create - create new directory /usr/local/nodejs-binary-0.10.26 * remote_file[/tmp/kitchen/cache/nodejs-binary-0.10.26.tar.gz] action create - create new file /tmp/kitchen/cache/nodejs-binary-0.10.26.tar.gz - update content in file /tmp/kitchen/cache/nodejs-binary-0.10.26.tar.gz from none to 305bf2 (new content is binary, diff output suppressed)
try to set the node.default['nodejs']['binary']['checksum'] parameter,
in your case:
node.default['nodejs']['binary']['checksum'] = '919498f2eb855ef0468b428b97d9d3f604d0f83417502d65b98c136786eb94d5'