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

Use new APT key handling #497

Open saz opened 2 months ago

saz commented 2 months ago

This module should use the new APT key handling.

I'm happy to create a PR for this, but I'd also prefer a way to use a different key source.

My suggestion would be, to add a parameter repo_key_source to the nodejs class.

Are there any other things within the APT repo config, which should be manageable?

saz commented 2 months ago

I guess, arch should be set properly:

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://deb.nodesource.com/node_20.x nodistro InRelease' doesn't support architecture 'i386'