This PR does a few things. It needs a bit of background explainer here.
node versions are managed via boxen/puppet-nodejs. Sort of. That module depends on nodenv which in turn uses node-build to provide definitions of what versions of node are install-able.
puppet-nodejs references an out-of-date version of node-build, only providing node versions through 4.0.0. To get newer version definitions, you'll see I've added a new line to hiera/common.yaml pointing at the specific hash I want to use for node-build (this hash represents the most recent commit on their master, FWIW). This gets us a newer version of node-build than boxen's nodejs module would give us.
Now I can install a few more node versions (4.2.2, 5.2.0) for all of us. But I'm leaving system node at 4.0.0 until we get past a few hiccups we're having.
Useful tips:
nodenv versions to see all versions of node you have, and what is currently the global version
node-build --definitions to see all available versions of node you can install
Preferred method of installing new versions is to add to boxen but nodenv install <version> will also do in a pinch. You can install any version of node listed by the previous node-build command.
Feels like some of this should be documented somewhere. Anyone have any ideas?
This PR does a few things. It needs a bit of background explainer here.
node versions are managed via
boxen/puppet-nodejs
. Sort of. That module depends on nodenv which in turn uses node-build to provide definitions of what versions of node are install-able.puppet-nodejs
references an out-of-date version ofnode-build
, only providing node versions through4.0.0
. To get newer version definitions, you'll see I've added a new line tohiera/common.yaml
pointing at the specific hash I want to use fornode-build
(this hash represents the most recent commit on theirmaster
, FWIW). This gets us a newer version ofnode-build
than boxen'snodejs
module would give us.Now I can install a few more node versions (
4.2.2
,5.2.0
) for all of us. But I'm leaving system node at4.0.0
until we get past a few hiccups we're having.Useful tips:
nodenv versions
to see all versions of node you have, and what is currently the global versionnode-build --definitions
to see all available versions of node you can installboxen
butnodenv install <version>
will also do in a pinch. You can install any version of node listed by the previousnode-build
command.Feels like some of this should be documented somewhere. Anyone have any ideas?
/cc @mrgerardorodriguez @tylersticka @erikjung