-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
test different NodeJS versions using beaker_facter #490
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,8 @@ | |
pkg_cmd = 'dpkg -s nodejs | grep "^Maintainer"' | ||
end | ||
|
||
nodejs_version = ENV.fetch('BEAKER_FACTER_nodejs_version', '20') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. for some reason, I couldn't use |
||
|
||
context 'default parameters' do | ||
it_behaves_like 'an idempotent resource' do | ||
let(:manifest) { "class { 'nodejs': }" } | ||
|
@@ -27,6 +29,45 @@ | |
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 | ||
# Only nodejs 16 is supported on EL7 by nodesource | ||
|
||
include_examples 'cleanup' | ||
|
||
# Debian 12 contains NodeJS 18, when we test 16, we need to force the nodesource version | ||
repo_pin = | ||
if nodejs_version == '16' && fact('os.family') == 'Debian' && fact('os.release.major') == '12' | ||
'1000' | ||
else | ||
'undef' | ||
end | ||
|
||
it_behaves_like 'an idempotent resource' do | ||
let(:manifest) do | ||
<<-PUPPET | ||
class { 'nodejs': | ||
repo_version => '#{nodejs_version}', | ||
repo_pin => #{repo_pin}, | ||
} | ||
PUPPET | ||
end | ||
end | ||
|
||
describe package('nodejs') do | ||
it { is_expected.to be_installed } | ||
Check warning on line 57 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 18
Check warning on line 57 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 20
Check warning on line 57 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 20
Check warning on line 57 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 7 - NodeJS 20
Check warning on line 57 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 18
Check warning on line 57 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 18
Check warning on line 57 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 20
|
||
|
||
it 'comes from the expected source' do | ||
Check warning on line 59 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 18
Check warning on line 59 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 20
Check warning on line 59 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 20
Check warning on line 59 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 7 - NodeJS 20
Check warning on line 59 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 18
Check warning on line 59 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 18
Check warning on line 59 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 20
Check warning on line 59 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 7 - NodeJS 18
|
||
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 66 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 18
Check warning on line 66 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 20
Check warning on line 66 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 20
Check warning on line 66 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 7 - NodeJS 20
Check warning on line 66 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 18
Check warning on line 66 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 18
Check warning on line 66 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 20
|
||
its(:stdout) { is_expected.to match(%r{^v#{nodejs_version}}) } | ||
Check warning on line 67 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 18
Check warning on line 67 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 7 - NodeJS 20
Check warning on line 67 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 20
Check warning on line 67 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 7 - NodeJS 20
Check warning on line 67 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 7 - NodeJS 18
Check warning on line 67 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 18
Check warning on line 67 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 7 - NodeJS 20
|
||
end | ||
end | ||
|
||
context 'RedHat with repo_class => epel', if: fact('os.family') == 'RedHat' do | ||
include_examples 'cleanup' | ||
|
||
|
@@ -57,7 +98,7 @@ | |
nodejs-devel | ||
].each do |pkg| | ||
describe package(pkg) do | ||
it do | ||
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 16
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 16
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 20
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 20
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 20
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 18
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 16
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 16
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 20
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 16
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 9 - NodeJS 16
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 20
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 18
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 18
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 16
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 9 - NodeJS 16
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 18
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 18
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 20
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 9 - NodeJS 20
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 9 - NodeJS 18
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 9 - NodeJS 18
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 9 - NodeJS 20
Check warning on line 101 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 18
|
||
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 | ||
|
@@ -65,12 +106,11 @@ | |
end | ||
end | ||
|
||
context 'RedHat with repo_class => nodejs::repo::dnfmodule', if: fact('os.family') == 'RedHat' && %w[8 9].include?(fact('os.release.major')) do | ||
include_examples 'cleanup' | ||
|
||
context 'RedHat with repo_class => nodejs::repo::dnfmodule', if: fact('os.family') == 'RedHat' && %w[8 9].include?(fact('os.release.major')), skip: ((nodejs_version == '20' && fact('os.name') != 'CentOS') || (nodejs_version == '16' && fact('os.release.major') == '9') ? 'NodeJS 20 is not yet in a released EL, NodeJS 16 is not available on EL9' : nil) do | ||
# Node 20 is only available in Stream yet, not in a released EL | ||
# So we're testing 18 here | ||
nodejs_version = '18' | ||
# Node 16 is not available on EL9 | ||
|
||
include_examples 'cleanup' | ||
|
||
it_behaves_like 'an idempotent resource' do | ||
let(:manifest) do | ||
|
@@ -91,11 +131,11 @@ | |
nodejs-devel | ||
].each do |pkg| | ||
describe package(pkg) do | ||
it do | ||
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 9 - NodeJS 16
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 8 - NodeJS 20
Check warning on line 134 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 8 - NodeJS 20
|
||
is_expected.to be_installed | ||
end | ||
|
||
it 'comes from the expected source' do | ||
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 9 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - Rocky 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - CentOS 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - CentOS 9 - NodeJS 16
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - Rocky 9 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 7 - OracleLinux 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 8 - NodeJS 20
Check warning on line 138 in spec/acceptance/class_spec.rb GitHub Actions / Puppet / Puppet 8 - OracleLinux 8 - NodeJS 20
|
||
pkg_output = shell(pkg_cmd) | ||
expect(pkg_output.stdout).to match 'appstream' | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically, NodeJS 16 is EOL but it's the only version that is supported on EL7 by nodesource 🤷♀️