Puppet doesn't install NPM package or throw errors on package ensure -
i'm attempting write puppet script jupyterhub server deployment. seem have run problem pretty in set steps.
i have
class jupyterhub { # used jupyterhub web proxy notebooks. class { 'nodejs': manage_package_repo => false, nodejs_dev_package_ensure => 'present', npm_package_ensure => 'latest', } # proxy used package { 'configurable-http-proxy': ensure => present, provider => 'npm', require => class['nodejs'], }
and on our test server i've run
puppet module install puppet-nodejs
to have nodejs
, npm
modules
the box i'm running on debian stable box
debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) x86_64 gnu/linux
when go run things on server, however, find npm has been installed package wasn't installed.
puppet agent --test info: retrieving pluginfacts info: retrieving plugin info: loading facts info: caching catalog jupyterhub.internal.com info: applying configuration version '1461274246' notice: finished catalog run in 1.68 seconds $ npm npm@1.4.21 /usr/share/npm
all far when run
npm list /root └── (empty)
nothing installed , see no errors. i'm confused why happening.
Comments
Post a Comment