diff options
author | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-01-06 15:24:25 +0100 |
---|---|---|
committer | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-01-06 15:25:15 +0100 |
commit | 9452ce26ea20ed73808c172cdef3890c45473e41 (patch) | |
tree | 2f62e903a972e85ac74e08da4e7f1ea890256725 /provisioning | |
parent | e00701a3d204f3c0120d1e6a6832054e84dc9577 (diff) |
Add nodejs_legacy package for required node symlink
Diffstat (limited to 'provisioning')
-rw-r--r-- | provisioning/modules/pixelated/manifests/source.pp | 1 | ||||
-rw-r--r-- | provisioning/modules/pixelated/manifests/source/npm.pp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/provisioning/modules/pixelated/manifests/source.pp b/provisioning/modules/pixelated/manifests/source.pp index 62b77638..4deb19ff 100644 --- a/provisioning/modules/pixelated/manifests/source.pp +++ b/provisioning/modules/pixelated/manifests/source.pp @@ -4,6 +4,7 @@ class pixelated::source { package { [ 'git', 'nodejs', + 'nodejs-legacy', 'python-dev', 'python-virtualenv', 'libffi-dev', diff --git a/provisioning/modules/pixelated/manifests/source/npm.pp b/provisioning/modules/pixelated/manifests/source/npm.pp index acc04401..9973df5c 100644 --- a/provisioning/modules/pixelated/manifests/source/npm.pp +++ b/provisioning/modules/pixelated/manifests/source/npm.pp @@ -4,6 +4,6 @@ class pixelated::source::npm { exec { 'install_npm': command => '/usr/bin/curl -s -L https://npmjs.org/install.sh | /bin/sh', unless => '/usr/bin/test -e /usr/bin/npm', - require => Package['nodejs']; + require => [Package['nodejs'], Package['nodejs-legacy']]; } } |