voxpupuli / puppet-nodejs

Puppet module to install nodejs and global npm packages
https://forge.puppet.com/puppet/nodejs
Apache License 2.0
113 stars 248 forks source link

nodejs::npm::global_config_entry: reimplement using ini_setting #441

Open kenyon opened 3 years ago

kenyon commented 3 years ago

Manage npm global config entries using the ini_setting resource instead of exec resources using npm config commands.

Closes #439 and #436

kenyon commented 3 years ago

Seems like something weird about npm in docker: it wants to use /usr/etc/npmrc instead of /etc/npmrc, but of course /usr/etc doesn't exist.