summaryrefslogtreecommitdiff
path: root/provisioning
diff options
context:
space:
mode:
authorFelix Hammerl <fhammerl@thoughtworks.com>2016-01-06 15:24:25 +0100
committerFelix Hammerl <fhammerl@thoughtworks.com>2016-01-06 15:25:15 +0100
commit9452ce26ea20ed73808c172cdef3890c45473e41 (patch)
tree2f62e903a972e85ac74e08da4e7f1ea890256725 /provisioning
parente00701a3d204f3c0120d1e6a6832054e84dc9577 (diff)
Add nodejs_legacy package for required node symlink
Diffstat (limited to 'provisioning')
-rw-r--r--provisioning/modules/pixelated/manifests/source.pp1
-rw-r--r--provisioning/modules/pixelated/manifests/source/npm.pp2
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']];
}
}