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

only ensure real npm packages #486

Closed evgeni closed 8 months ago

evgeni commented 8 months ago

nodesource's nodejs packages have Provides: npm which means that when we try to ensure => absent the npm package, it really removes the nodejs package we want.

by setting allow_virtual => false we ensure that we only remove real packages.

Fixes: 160ea93dbc6f6633d01f0a078541bbad21ad93ba

Pull Request (PR) description

This Pull Request (PR) fixes the following issues