blob: 9973df5cbc0ab11af77c9da143cea6b50534bbfc (
plain)
1
2
3
4
5
6
7
8
9
|
# installs npm from source
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'], Package['nodejs-legacy']];
}
}
|