You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: all
Ruby: all
Distribution: all
Module version: probably v0.8.0 and above
How to reproduce (e.g Puppet code you use)
Try to set a global_config_entry before the nodejs/npm package is being installed. As an example:
nodejs::npm::global_config_entry { 'always-auth':
ensure => 'present',
value => 'true',
}
What are you seeing
The npm_config exec fails and the config is not set.
What behaviour did you expect instead
For the resource to apply without errors.
Output log
Error: /bin/sh: 1: /usr/bin/npm: not found
Error: /Nodejs::Npm::Global_config_entry[always-auth]/Exec[npm_config present always-auth]/returns: change from 'notrun' to ['0'] failed: /bin/sh: 1: /usr/bin/npm: not found
Any additional information you'd like to impart
I implemented a simple fix, will make a pull request.
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Try to set a global_config_entry before the nodejs/npm package is being installed. As an example:
What are you seeing
The npm_config exec fails and the config is not set.
What behaviour did you expect instead
For the resource to apply without errors.
Output log
Any additional information you'd like to impart
I implemented a simple fix, will make a pull request.
The text was updated successfully, but these errors were encountered: