Install npm

The nodejs module does not install npm by default, and it is needed in
order to use it as a package provider. Also remove the npm package test
from beaker, since it makes no sense for package 'npm' to be installed
by provider 'npm'.

Change-Id: Idc3d51399f1263eded3f373a7c852a609b15a204
This commit is contained in:
Colleen Murphy 2017-06-11 21:13:10 +02:00
parent 90451309d3
commit 7df7a1dddb
2 changed files with 1 additions and 1 deletions

View File

@ -11,6 +11,7 @@ class openstack_health::frontend(
class { '::nodejs':
legacy_debian_symlinks => true,
repo_url_suffix => 'node_0.12',
npm_package_ensure => 'present',
}
package { 'node-gyp':

View File

@ -31,7 +31,6 @@ describe 'puppet-openstack_health::api manifest', :if => ['debian', 'ubuntu'].in
describe 'npm packages' do
required_packages = [
package('npm'),
package('node-gyp'),
package('gulp'),
]