cloudfour / cloudfour-boxen

Boxen
MIT License
0 stars 0 forks source link

Update node versions #74

Closed lyzadanger closed 8 years ago

lyzadanger commented 8 years ago

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:

Feels like some of this should be documented somewhere. Anyone have any ideas?

/cc @mrgerardorodriguez @tylersticka @erikjung

lyzadanger commented 8 years ago

p.s. After running boxen on this branch, I get:

$ nodenv versions
  0.10
  0.10.36
  0.12
  0.12.0
* 4.0.0 (set by /opt/boxen/nodenv/version)
  4.2.2
  5.2.0
erikjung commented 8 years ago

Nice :+1: