summaryrefslogtreecommitdiff
path: root/provisioning/modules/pixelated/manifests/source/npm.pp
blob: 8926d6fdcccb9c20dfa99a09994a5edb6b94978c (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-legacy'];
  }
}