voxpupuli / puppet-nodejs

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

switch to using the nodistro nodesource repos, removing source support, dropping support for NodeJS16 on EL9 #485

Closed evgeni closed 9 months ago

evgeni commented 11 months ago

the other ones do not contain the latest releases (e.g. 20.x contains 20.5 vs 20.9)

this removes the repo_enable_src and repo_release parameters, as they are not useful anymore.

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

evgeni commented 11 months ago

:woman_facepalming: the nodistro packages are signed by SHA1, but that obviously doesn't work for EL9: https://github.com/nodesource/distributions/issues/1693

evgeni commented 11 months ago
Node EL8 EL9 nodistro
16 16.20.2 16.20.2 16.20.2
18 18.17.1 18.17.1 18.18.2
20 20.5.1 20.5.1 20.9.0
# for rel in 16 18 20; do dnf repoquery --repo nodesource --repofrompath nodesource,https://rpm.nodesource.com/pub_${rel}.x/nodistro/nodejs/x86_64 --latest 1; done
Added nodesource repo from https://rpm.nodesource.com/pub_16.x/nodistro/nodejs/x86_64
nodesource                                                                                                                                                                                             878 kB/s | 732 kB     00:00    
Last metadata expiration check: 0:00:01 ago on Sat Oct 28 17:43:53 2023.
nodejs-2:16.20.2-1nodesource.x86_64
nodejs-devel-2:16.20.2-1nodesource.x86_64
nodejs-docs-2:16.20.2-1nodesource.noarch
Added nodesource repo from https://rpm.nodesource.com/pub_18.x/nodistro/nodejs/x86_64
nodesource                                                                                                                                                                                             1.7 MB/s | 750 kB     00:00    
nodejs-2:18.18.2-1nodesource.x86_64
nodejs-devel-2:18.18.2-1nodesource.x86_64
nodejs-docs-2:18.18.2-1nodesource.noarch
Added nodesource repo from https://rpm.nodesource.com/pub_20.x/nodistro/nodejs/x86_64
Last metadata expiration check: 0:00:24 ago on Sat Oct 28 17:43:30 2023.
nodejs-2:20.9.0-1nodesource.x86_64
nodejs-devel-2:20.9.0-1nodesource.x86_64
nodejs-docs-2:20.9.0-1nodesource.noarch
# for rel in 16 18 20; do dnf repoquery --repo nodesource --repofrompath nodesource,https://rpm.nodesource.com/pub_${rel}.x/el/8/x86_64 --latest 1; done
Added nodesource repo from https://rpm.nodesource.com/pub_16.x/el/8/x86_64
nodesource                                                                                                                                                                                             1.7 MB/s | 710 kB     00:00    
nodejs-2:16.20.2-1nodesource.x86_64
nodejs-devel-2:16.20.2-1nodesource.x86_64
nodejs-docs-2:16.20.2-1nodesource.noarch
nodesource-release-0:el8-1.noarch
Added nodesource repo from https://rpm.nodesource.com/pub_18.x/el/8/x86_64
nodesource                                                                                                                                                                                             2.5 MB/s | 653 kB     00:00    
nodejs-2:18.17.1-1nodesource.x86_64
nodejs-devel-2:18.17.1-1nodesource.x86_64
nodejs-docs-2:18.17.1-1nodesource.noarch
nodesource-release-0:el8-1.noarch
Added nodesource repo from https://rpm.nodesource.com/pub_20.x/el/8/x86_64
nodesource                                                                                                                                                                                             427 kB/s | 232 kB     00:00    
nodejs-2:20.5.1-1nodesource.x86_64
nodejs-devel-2:20.5.1-1nodesource.x86_64
nodejs-docs-2:20.5.1-1nodesource.noarch
nodesource-release-0:el8-1.noarch
# for rel in 16 18 20; do dnf repoquery --repo nodesource --repofrompath nodesource,https://rpm.nodesource.com/pub_${rel}.x/el/9/x86_64 --latest 1; done
Added nodesource repo from https://rpm.nodesource.com/pub_16.x/el/9/x86_64
nodesource                                                                                                                                                                                             673 kB/s | 280 kB     00:00    
nodejs-2:16.20.2-1nodesource.x86_64
nodejs-devel-2:16.20.2-1nodesource.x86_64
nodejs-docs-2:16.20.2-1nodesource.noarch
nodesource-release-0:el9-1.noarch
Added nodesource repo from https://rpm.nodesource.com/pub_18.x/el/9/x86_64
nodesource                                                                                                                                                                                             1.1 MB/s | 653 kB     00:00    
nodejs-2:18.17.1-1nodesource.x86_64
nodejs-devel-2:18.17.1-1nodesource.x86_64
nodejs-docs-2:18.17.1-1nodesource.noarch
nodesource-release-0:el9-1.noarch
Added nodesource repo from https://rpm.nodesource.com/pub_20.x/el/9/x86_64
nodesource                                                                                                                                                                                             281 kB/s | 232 kB     00:00    
nodejs-2:20.5.1-1nodesource.x86_64
nodejs-devel-2:20.5.1-1nodesource.x86_64
nodejs-docs-2:20.5.1-1nodesource.noarch
nodesource-release-0:el9-1.noarch