willdurand/puppet-nodejs — pull request #30 by caillou (2013-11-05 09:04:24+00:00)
Title: Make binaries of installed npm packages available

This PR is meant to make binaries of installed npm packages available, e.g. `grunt-cli`.

Rather than using symbolic links to `node` and `npm` in the `target_dir` we add `/usr/local/node/node-current/bin` to the `PATH` and make a symbolic link of the last installed version to this path.