From 9452ce26ea20ed73808c172cdef3890c45473e41 Mon Sep 17 00:00:00 2001 From: Felix Hammerl Date: Wed, 6 Jan 2016 15:24:25 +0100 Subject: Add nodejs_legacy package for required node symlink --- provisioning/modules/pixelated/manifests/source.pp | 1 + provisioning/modules/pixelated/manifests/source/npm.pp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'provisioning/modules/pixelated') 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']]; } } -- cgit v1.2.3