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:
parent
90451309d3
commit
7df7a1dddb
|
@ -11,6 +11,7 @@ class openstack_health::frontend(
|
||||||
class { '::nodejs':
|
class { '::nodejs':
|
||||||
legacy_debian_symlinks => true,
|
legacy_debian_symlinks => true,
|
||||||
repo_url_suffix => 'node_0.12',
|
repo_url_suffix => 'node_0.12',
|
||||||
|
npm_package_ensure => 'present',
|
||||||
}
|
}
|
||||||
|
|
||||||
package { 'node-gyp':
|
package { 'node-gyp':
|
||||||
|
|
|
@ -31,7 +31,6 @@ describe 'puppet-openstack_health::api manifest', :if => ['debian', 'ubuntu'].in
|
||||||
|
|
||||||
describe 'npm packages' do
|
describe 'npm packages' do
|
||||||
required_packages = [
|
required_packages = [
|
||||||
package('npm'),
|
|
||||||
package('node-gyp'),
|
package('node-gyp'),
|
||||||
package('gulp'),
|
package('gulp'),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue