Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 26 additions & 25 deletions files/repo/nodesource/NODESOURCE-GPG-SIGNING-KEY-EL
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we have a static key block for RPM, but Debian uses a remote URL? is it because there we can still pin the fingerprint of the key?

Version: GnuPG v1

mQINBFQCN9QBEADv5QYOlCWNkI/oKST/GGpQkOZjFY2cbYdHuc2j8kyM4oeNluXq
puEYMHOoQvbJ3DFPvsv+jCruL7qjkel9YzaF6e3RN2ystP4YBjxyOT7Bb5EnjNNU
6oScQJ50/+RmA4N3wzBrw5+x5KQGBfRU/k7JdDKO6SGY0zzdAo3jqp1nQ9Sf+Fmg
hsjDLVZTHorLPV3yPLb37QlvBB2YIRF+dL9l4wPAI/fGyWv+Qs7VlCZTyRAnKGbv
qN1LvlYoV9YqxaJYYJW+MQhn4706yNJAFeOZuKejEcnZTd/NBiAR91sVnsXKgW9e
yb4TZ7SqkmrJpuKJBpdPr1dgaK8dDmFh9Nlhpz6xZuYcKaDEDa5b3wymnixtwZf2
WyboChIlsHDajtXZt34xP9uUge1VHyk1o8AQUzKEpuepxxLnyXArLgvHaLhQnxPA
bQB43b4RbWYHPdB16ki2WoZX/DA4YEtfxg8GC3zXC2thMJnFburmts71iiYsxKBc
6d7O8415xrErhk2/o2+bRhf+7qBQfW0oxQSEMBYbq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aeBbJaPNXL9wpJ
YBJbiMjkAFaz4B95FOqZm3r7oHugiCGsHX0AEQEAAYkBHwQYAQIACQUCV0M3UAIb
DAAKCRAvWbX5mxvgtE/OB/0VN88DR3Y3fuqy7lq/dthkn7Dqm9YXdorZl3L152eE
IF882aG8FE3qZdaLGjQO4oShAyNWmRfSGuoH0XERXAI9n0r8m4mDMxE6rtP7tHet
y/5M8x3CTyuMgx5GLDaEUvBusnTD+/v/fBMwRK/cZ9du5PSG4R50rtst+oYyC2ao
x4I2SgjtF/cY7bECsZDplzatN3gv34PkcdIg8SLHAVlL4N5tzumDeizRspcSyoy2
K2+hwKU4C4+dekLLTg8rjnRROvplV2KtaEk6rxKtIRFDCoQng8wfJuIMrDNKvqZw
FRGt7cbvW5MCnuH8MhItOl9Uxp1wHp6gtav/h8Gp6MBa
=MARt
-----END PGP PUBLIC KEY BLOCK-----
52 changes: 52 additions & 0 deletions files/repo/nodesource/ns-operations-public.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBGWFsqMBEAC4YlSuNpHjOiQVTC8StolVx3J8E9SC6G4wmVWbytMD1Zivfanj
3LKDqdy7vpbViXA9whpyGQgQYdOlPKaNHWw4GSeGTnP1FbvaK1NJ9MnAzUysh49R
cqoktYeIQbqgOgZHw5/gVH5bYObf1KJQ2LY/je9WTlW3QMRe1TaW0F0AZnJMBIOG
JllE33QIpxDnOQHnvdUGq+HscUOTrW4Q3AdzwsQxU4GX82d9qFFr8HjAmUjlUKyh
PgvMpb8VDvR7NE6et+wWh6BMYILo3VJFP7/gTXGiy3WWs5GW/PNXIXw5/f2w1B+e
Dh5tlfGG4q/4P8mbv7C6RPHoF2Lq+W69HLqSq/l42WUL41tHlFTsluCIKpeeMxAu
olxx3Z5momHMMyh7rbZtQDqFMTAqxNjT1NinKkWyj7KP5WE9hVosyd3UMR4UYDMm
Zb6LI4N7Hht887+CY7grxTJ9cGQhMFfvLyvlf/FWQ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SV7Eb29ccJofz3J+b5OJvpmLSZ
Hu22Csa8k2V/1ojeL0DjQHD06V75F7BerxLR/rbJ64GkIiOdm4ntXC4a335gjQfM
5tI6LtGsIpr+Le4C068eDj7YpzS0ql3g6o4A1TbtapLccgEj4iw95H4KKh0Ro5r0
0s6LoSLu9uva3LiLVn6xXvpw3iv8FnhTr5PEiPnorXvxcCnUrB3Rkk6Wh1SKjpxa
u6KiFzH0CXR1AgUdWSC0rAmvEdFjXgaoQd+Z2eJFHEAsg91URd9NtdeDsyMwdbHh
iBZPGX5ddPjJA7nwKbkibCv7xiodd9ph8NmGLqD/2SDU1rqvPuCDMqLuxc89Gvhs
3CeLTSJK9Uzb3oNdZLxL8CECip1ZkowVfTL+jY23phS9+Z0Db/yZqot3ZZJAAG8g
oSVkzT/Mwp9zFVQu5w==
=drMP
-----END PGP PUBLIC KEY BLOCK-----
2 changes: 0 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,12 @@
Optional[String] $npmrc_auth = $nodejs::params::npmrc_auth,
Optional[Hash] $npmrc_config = $nodejs::params::npmrc_config,
$repo_class = $nodejs::params::repo_class,
$repo_enable_src = $nodejs::params::repo_enable_src,
$repo_ensure = $nodejs::params::repo_ensure,
$repo_pin = $nodejs::params::repo_pin,
$repo_priority = $nodejs::params::repo_priority,
$repo_proxy = $nodejs::params::repo_proxy,
$repo_proxy_password = $nodejs::params::repo_proxy_password,
$repo_proxy_username = $nodejs::params::repo_proxy_username,
Optional[String] $repo_release = $nodejs::params::repo_release,
String[1] $repo_version = $nodejs::params::repo_version,
Array $use_flags = $nodejs::params::use_flags,
Optional[String] $package_provider = $nodejs::params::package_provider,
Expand Down
2 changes: 0 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
$npmrc_config = undef
$nodejs_debug_package_ensure = 'absent'
$nodejs_package_ensure = 'installed'
$repo_enable_src = false
$repo_ensure = 'present'
$repo_pin = undef
$repo_priority = 'absent'
$repo_proxy = 'absent'
$repo_proxy_password = 'absent'
$repo_proxy_username = 'absent'
$repo_release = undef
$repo_version = ($facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] == '7') ? {
true => '16',
default => '20',
Expand Down
36 changes: 0 additions & 36 deletions manifests/repo/nodesource.pp
Original file line number Diff line number Diff line change
@@ -1,52 +1,16 @@
# PRIVATE CLASS: Do not use directly
class nodejs::repo::nodesource {
$enable_src = $nodejs::repo_enable_src
$ensure = $nodejs::repo_ensure
$pin = $nodejs::repo_pin
$priority = $nodejs::repo_priority
$proxy = $nodejs::repo_proxy
$proxy_password = $nodejs::repo_proxy_password
$proxy_username = $nodejs::repo_proxy_username
$release = $nodejs::repo_release

$url_suffix = "${nodejs::repo_version}.x"

case $facts['os']['family'] {
'RedHat': {
if $facts['os']['release']['major'] =~ /^[789]$/ {
$dist_version = $facts['os']['release']['major']
$name_string = "Enterprise Linux ${dist_version}"
}

# Fedora
elsif $facts['os']['name'] == 'Fedora' {
$dist_version = $facts['os']['release']['full']
$name_string = "Fedora Core ${facts['os']['release']['full']}"
}

# newer Amazon Linux releases
elsif ($facts['os']['name'] == 'Amazon') {
$dist_version = '7'
$name_string = 'Enterprise Linux 7'
}

else {
fail("Could not determine NodeSource repository URL for operatingsystem: ${facts['os']['name']} operatingsystemrelease: ${facts['os']['release']['full']}.")
}

$dist_type = $facts['os']['name'] ? {
'Fedora' => 'fc',
default => 'el',
}

# nodesource repo
$descr = "Node.js Packages for ${name_string} - \$basearch"
$baseurl = "https://rpm.nodesource.com/pub_${url_suffix}/${dist_type}/${dist_version}/\$basearch"

# nodesource-source repo
$source_descr = "Node.js for ${name_string} - \$basearch - Source"
$source_baseurl = "https://rpm.nodesource.com/pub_${url_suffix}/${dist_type}/${dist_version}/SRPMS"

contain 'nodejs::repo::nodesource::yum'
}
'Debian': {
Expand Down
11 changes: 3 additions & 8 deletions manifests/repo/nodesource/apt.pp
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
# PRIVATE CLASS: Do not use directly.
class nodejs::repo::nodesource::apt {
$enable_src = $nodejs::repo::nodesource::enable_src
$ensure = $nodejs::repo::nodesource::ensure
$pin = $nodejs::repo::nodesource::pin
$release = $nodejs::repo::nodesource::release
$url_suffix = $nodejs::repo::nodesource::url_suffix

include apt

if ($ensure != 'absent') {
apt::source { 'nodesource':
include => {
'src' => $enable_src,
},
key => {
'id' => '9FD3B784BC1C6FC31A8A0A1C1655A0AB68576280',
'source' => 'https://deb.nodesource.com/gpgkey/nodesource.gpg.key',
'id' => '6F71F525282841EEDAF851B42F59B5F99B1BE0B4',
'source' => 'https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key',
},
location => "https://deb.nodesource.com/node_${url_suffix}",
pin => $pin,
release => $release,
release => 'nodistro',
repos => 'main',
}

Expand Down
37 changes: 7 additions & 30 deletions manifests/repo/nodesource/yum.pp
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
# PRIVATE CLASS: Do not use directly.
class nodejs::repo::nodesource::yum {
$baseurl = $nodejs::repo::nodesource::baseurl
$descr = $nodejs::repo::nodesource::descr
$enable_src = $nodejs::repo::nodesource::enable_src
$ensure = $nodejs::repo::nodesource::ensure
$priority = $nodejs::repo::nodesource::priority
$proxy = $nodejs::repo::nodesource::proxy
$proxy_password = $nodejs::repo::nodesource::proxy_password
$proxy_username = $nodejs::repo::nodesource::proxy_username
$source_baseurl = $nodejs::repo::nodesource::source_baseurl
$source_descr = $nodejs::repo::nodesource::source_descr

$yum_source_enabled = $enable_src ? {
true => '1',
default => '0',
}
$url_suffix = $nodejs::repo::nodesource::url_suffix

$yum_failovermethod = (versioncmp($facts['os']['release']['major'], '8') >= 0 and $priority == 'absent') ? {
true => 'absent',
Expand All @@ -38,8 +29,8 @@
}

yumrepo { 'nodesource':
descr => $descr,
baseurl => $baseurl,
descr => 'Node.js Packages - $basearch',
baseurl => "https://rpm.nodesource.com/pub_${url_suffix}/nodistro/nodejs/\$basearch",
enabled => '1',
failovermethod => $yum_failovermethod,
gpgkey => 'file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL',
Expand All @@ -52,27 +43,17 @@
require => File['/etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL'],
}

yumrepo { 'nodesource-source':
descr => $source_descr,
baseurl => $source_baseurl,
enabled => $yum_source_enabled,
failovermethod => $yum_failovermethod,
gpgkey => 'file:///etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL',
gpgcheck => '1',
module_hotfixes => $module_hotfixes,
priority => $priority,
proxy => $proxy,
proxy_password => $proxy_password,
proxy_username => $proxy_username,
require => File['/etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL'],
$gpg_source = $url_suffix ? {
'16.x' => 'NODESOURCE-GPG-SIGNING-KEY-EL',
default => 'ns-operations-public.key',
}

file { '/etc/pki/rpm-gpg/NODESOURCE-GPG-SIGNING-KEY-EL':
ensure => file,
group => '0',
mode => '0644',
owner => 'root',
source => "puppet:///modules/${module_name}/repo/nodesource/NODESOURCE-GPG-SIGNING-KEY-EL",
source => "puppet:///modules/${module_name}/repo/nodesource/${gpg_source}",
}
}

Expand All @@ -81,10 +62,6 @@
ensure => 'absent',
}

yumrepo { 'nodesource-source':
ensure => 'absent',
}

if versioncmp($facts['os']['release']['major'], '8') >= 0 {
file { 'dnf_module':
ensure => absent,
Expand Down
8 changes: 7 additions & 1 deletion spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

require 'spec_helper_acceptance'

def nodesource_unsupported(nodejs_version)
return unless fact('os.family') == 'RedHat'
return 'Only NodeJS 16 is supported on EL7' if nodejs_version != '16' && fact('os.release.major') == '7'
return 'NodeJS 16 is not supported on EL9' if nodejs_version == '16' && fact('os.release.major') == '9'
end

describe 'nodejs' do
case fact('os.family')
when 'RedHat'
Expand Down Expand Up @@ -29,7 +35,7 @@
end
end

context "explicitly using version #{nodejs_version} from nodesource", if: %w[RedHat Debian].include?(fact('os.family')), skip: (nodejs_version != '16' && fact('os.family') == 'RedHat' && fact('os.release.major') == '7' ? 'Only NodeJS 16 is supported on EL7' : nil) do
context "explicitly using version #{nodejs_version} from nodesource", if: %w[RedHat Debian].include?(fact('os.family')), skip: nodesource_unsupported(nodejs_version) do
# Only nodejs 16 is supported on EL7 by nodesource

include_examples 'cleanup'
Expand All @@ -55,17 +61,17 @@
end

describe package('nodejs') do
it { is_expected.to be_installed }

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" Skipped: NodeJS 16 is not supported on EL9

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" Skipped: NodeJS 16 is not supported on EL9

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Package "nodejs" Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" Skipped: NodeJS 16 is not supported on EL9

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" Skipped: NodeJS 16 is not supported on EL9

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Package "nodejs" Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Package "nodejs" Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" Skipped: NodeJS 16 is not supported on EL9

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Package "nodejs" Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Package "nodejs" Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" Skipped: NodeJS 16 is not supported on EL9

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Package "nodejs" Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" Skipped: NodeJS 16 is not supported on EL9

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Package "nodejs" Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" Skipped: NodeJS 16 is not supported on EL9

Check warning on line 64 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Package "nodejs" Skipped: Only NodeJS 16 is supported on EL7

it 'comes from the expected source' do

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" comes from the expected source Skipped: NodeJS 16 is not supported on EL9

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" comes from the expected source Skipped: NodeJS 16 is not supported on EL9

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Package "nodejs" comes from the expected source Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" comes from the expected source Skipped: NodeJS 16 is not supported on EL9

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" comes from the expected source Skipped: NodeJS 16 is not supported on EL9

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Package "nodejs" comes from the expected source Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Package "nodejs" comes from the expected source Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" comes from the expected source Skipped: NodeJS 16 is not supported on EL9

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Package "nodejs" comes from the expected source Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Package "nodejs" comes from the expected source Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" comes from the expected source Skipped: NodeJS 16 is not supported on EL9

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Package "nodejs" comes from the expected source Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" comes from the expected source Skipped: NodeJS 16 is not supported on EL9

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Package "nodejs" comes from the expected source Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Package "nodejs" comes from the expected source Skipped: NodeJS 16 is not supported on EL9

Check warning on line 66 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Package "nodejs" comes from the expected source Skipped: Only NodeJS 16 is supported on EL7
pkg_output = shell(pkg_cmd)
expect(pkg_output.stdout).to match 'nodesource'
end
end

describe command('node --version') do
its(:exit_status) { is_expected.to eq 0 }

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" exit_status Skipped: NodeJS 16 is not supported on EL9

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" exit_status Skipped: NodeJS 16 is not supported on EL9

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Command "node --version" exit_status Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" exit_status Skipped: NodeJS 16 is not supported on EL9

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" exit_status Skipped: NodeJS 16 is not supported on EL9

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Command "node --version" exit_status Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Command "node --version" exit_status Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" exit_status Skipped: NodeJS 16 is not supported on EL9

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Command "node --version" exit_status Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Command "node --version" exit_status Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" exit_status Skipped: NodeJS 16 is not supported on EL9

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Command "node --version" exit_status Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" exit_status Skipped: NodeJS 16 is not supported on EL9

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Command "node --version" exit_status Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" exit_status Skipped: NodeJS 16 is not supported on EL9

Check warning on line 73 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Command "node --version" exit_status Skipped: Only NodeJS 16 is supported on EL7
its(:stdout) { is_expected.to match(%r{^v#{nodejs_version}}) }

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" stdout Skipped: NodeJS 16 is not supported on EL9

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" stdout Skipped: NodeJS 16 is not supported on EL9

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Command "node --version" stdout Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" stdout Skipped: NodeJS 16 is not supported on EL9

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" stdout Skipped: NodeJS 16 is not supported on EL9

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Command "node --version" stdout Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Command "node --version" stdout Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" stdout Skipped: NodeJS 16 is not supported on EL9

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Command "node --version" stdout Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Command "node --version" stdout Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" stdout Skipped: NodeJS 16 is not supported on EL9

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Command "node --version" stdout Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" stdout Skipped: NodeJS 16 is not supported on EL9

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 18

nodejs explicitly using version 18 from nodesource Command "node --version" stdout Skipped: Only NodeJS 16 is supported on EL7

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 16

nodejs explicitly using version 16 from nodesource Command "node --version" stdout Skipped: NodeJS 16 is not supported on EL9

Check warning on line 74 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 20

nodejs explicitly using version 20 from nodesource Command "node --version" stdout Skipped: Only NodeJS 16 is supported on EL7
end
end

Expand Down Expand Up @@ -99,7 +105,7 @@
nodejs-devel
].each do |pkg|
describe package(pkg) do
it do

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 16

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 16

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9 - NodeJS 16

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 16

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 20

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 18

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 16

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 20

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 18

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9 - NodeJS 16

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 18

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 20

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9 - NodeJS 18

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9 - NodeJS 20

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 20

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 20

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 16

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 18

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9 - NodeJS 18

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 18

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9 - NodeJS 20

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 16

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 20

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed

Check warning on line 108 in spec/acceptance/class_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 18

nodejs RedHat with repo_class => epel Package "nodejs-devel" is expected to be installed Failure/Error: is_expected.to be_installed expected Package "nodejs-devel" to be installed
pending('nodejs-devel and nodejs not installable together on EL9') if fact('os.release.major') == '9' && pkg == 'nodejs-devel'
is_expected.to be_installed
end
Expand Down
Loading
Loading